Re: [PyKDE] PyQt and sip: WId is undefined

2005-06-21 Thread Phil Thompson
 On Fri, 10 Jun 2005, Phil Thompson wrote:

 On Friday 10 June 2005 10:21 pm, Jeremy C. Reed wrote:
  I am trying to build PyQt-x11-gpl-3.14.1 on Darwin 7.9.0/Mac OS X.

 You need PyQt-mac-gpl-3.14.1. X11 on Mac is not supported.

 Okay, I will give this a try.

 What are the plans for X11 on Mac?

It will remain unsupported.

 Will the PyQt-mac version work with qt-x11-free?

I don't know.

 We are using X11 version of Qt and hope to use X11 for PyQt also.

 I don't know PyQt myself (as I am helping with packaging), but we hope to
 have a consistent environment from Darwin, Mac OS X, Solaris, and NetBSD
 (which all have X). But maybe the PyQt-mac for Mac OS X will behave the
 same.

Phil

___
PyKDE mailing listPyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde


Re: [PyKDE] PyQt and sip: WId is undefined

2005-06-21 Thread Diez B. Roggisch
 I don't know PyQt myself (as I am helping with packaging), but we hope to
 have a consistent environment from Darwin, Mac OS X, Solaris, and NetBSD
 (which all have X). But maybe the PyQt-mac for Mac OS X will behave the
 same.

What are your worries? I use PyQt on mac - and it doesn't require me to run 
X11, which I as a user think is very good. And there is no os-specific stuff 
in my apps to do (at least not regarding qt itself). 

The whole purpose of Qt is to behave the same - regardless of the platform. 
That's why it's called platform independed.. :)

Diez

___
PyKDE mailing listPyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde


Re: [PyKDE] PyQt and sip: WId is undefined

2005-06-21 Thread Kevin Walzer

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

If the application you are packaging sticks to the Qt API and does not
use X11-specific stuff (i.e. it's not a KDE app), there should be no
difference in functionality under Aqua and X. It will look different,
because Qt conforms to the interface conventions of each platform it
runs on, but it also abstracts those differences away from the developer
(unlike wxWidgets, which requires some Mac-specific hacks to get the
about menu in the right place).


Cheers,

Kevin Walzer, PhD
WordTech Software--Open Source Applications and Packages for OS X
http://www.wordtech-software.com
http://www.kevin-walzer.com
http://www.smallbizmac.com.
mailto:[EMAIL PROTECTED]

Jeremy C. Reed wrote:
| On Fri, 10 Jun 2005, Phil Thompson wrote:
|
|
|On Friday 10 June 2005 10:21 pm, Jeremy C. Reed wrote:
|
|I am trying to build PyQt-x11-gpl-3.14.1 on Darwin 7.9.0/Mac OS X.
|
|You need PyQt-mac-gpl-3.14.1. X11 on Mac is not supported.
|
|
| Okay, I will give this a try.
|
| What are the plans for X11 on Mac?
|
| Will the PyQt-mac version work with qt-x11-free?
|
| We are using X11 version of Qt and hope to use X11 for PyQt also.
|
| I don't know PyQt myself (as I am helping with packaging), but we hope to
| have a consistent environment from Darwin, Mac OS X, Solaris, and NetBSD
| (which all have X). But maybe the PyQt-mac for Mac OS X will behave the
| same.
|
|  Jeremy C. Reed
|
|Low cost press releases
|http://www.reedmedia.net/
|
| ___
| PyKDE mailing listPyKDE@mats.imk.fraunhofer.de
| http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
|
|
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (Darwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCuCfnJmdQs+6YVcoRAlwjAKCE6kpzmuO6arAOXHznU5Va6WG+5gCfdk1Q
Sjd+/RlpLTrgUUiH1YTAs6U=
=j6qc
-END PGP SIGNATURE-

___
PyKDE mailing listPyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde


Re: [PyKDE] PyQt and sip: WId is undefined

2005-06-20 Thread Jeremy C. Reed
On Fri, 10 Jun 2005, Phil Thompson wrote:

 On Friday 10 June 2005 10:21 pm, Jeremy C. Reed wrote:
  I am trying to build PyQt-x11-gpl-3.14.1 on Darwin 7.9.0/Mac OS X.

 You need PyQt-mac-gpl-3.14.1. X11 on Mac is not supported.

Okay, I will give this a try.

What are the plans for X11 on Mac?

Will the PyQt-mac version work with qt-x11-free?

We are using X11 version of Qt and hope to use X11 for PyQt also.

I don't know PyQt myself (as I am helping with packaging), but we hope to
have a consistent environment from Darwin, Mac OS X, Solaris, and NetBSD
(which all have X). But maybe the PyQt-mac for Mac OS X will behave the
same.

 Jeremy C. Reed

 Low cost press releases
 http://www.reedmedia.net/

___
PyKDE mailing listPyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde


[PyKDE] PyQt and sip: WId is undefined

2005-06-10 Thread Jeremy C. Reed
I am trying to build PyQt-x11-gpl-3.14.1 on Darwin 7.9.0/Mac OS X.

configure.py fails with:

SIP 4.2.1 is being used.
Checking to see if the QAssistantClient class is available...
Creating features file...
Checking to see if the QCDEStyle class is built in...
Checking to see if the QInterlaceStyle class is built in...
Checking to see if the QMotifStyle class is built in...
Checking to see if the QMotifPlusStyle class is built in...
Checking to see if the QPlatinumStyle class is built in...
Checking to see if the QSGIStyle class is built in...
Checking to see if the QWindowsXPStyle class is built in...
Checking to see if the QWindowsStyle class is built in...
These PyQt modules will be built: qt.
Support for these Qt classes has been disabled: QInterlaceStyle
QWindowsXPStyle.
The PyQt modules will be installed in
/usr/pkg/lib/python2.4/site-packages.
The PyQt .sip files will be installed in /usr/pkg/share/sip2.4.
pyuic will be installed in /usr/pkg/bin.
pylupdate will be installed in /usr/pkg/bin.
Generating the C++ source for the qt module...
sip: WId is undefined
Error: Unable to create the C++ code

I found some postings from a year ago about sip: WId is undefined
but didn't seem to be related now.

How can I track down what file needs to have this defined?

I tried -w switch for configure but then got information like:

Checking to see if the QCDEStyle class is built in...
Checking to see if the QInterlaceStyle class is built in...
cfgtest.cpp: In function `int main(int, char**)':
cfgtest.cpp:5: error: parse error before `(' token
Checking to see if the QMotifStyle class is built in...
Checking to see if the QMotifPlusStyle class is built in...
Checking to see if the QPlatinumStyle class is built in...
Checking to see if the QSGIStyle class is built in...
Checking to see if the QWindowsXPStyle class is built in...
cfgtest.cpp:1:29: qwindowsxpstyle.h: No such file or directory
cfgtest.cpp: In function `int main(int, char**)':
cfgtest.cpp:5: error: parse error before `(' token
Checking to see if the QWindowsStyle class is built in...
These PyQt modules will be built: qt.
Support for these Qt classes has been disabled: QInterlaceStyle
QWindowsXPStyle.
The PyQt modules will be installed in
/usr/pkg/lib/python2.4/site-packages.
The PyQt .sip files will be installed in /usr/pkg/share/sip2.4.
pyuic will be installed in /usr/pkg/bin.
pylupdate will be installed in /usr/pkg/bin.
Generating the C++ source for the qt module...
sip: WId is undefined
Error: Unable to create the C++ code.

Maybe the above is related?

Any suggestions would be appreciated.

 Jeremy C. Reed

 BSD News, BSD tutorials, BSD links
 http://www.bsdnewsletter.com/


___
PyKDE mailing listPyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde


Re: [PyKDE] PyQt and sip: WId is undefined

2005-06-10 Thread Phil Thompson
On Friday 10 June 2005 10:21 pm, Jeremy C. Reed wrote:
 I am trying to build PyQt-x11-gpl-3.14.1 on Darwin 7.9.0/Mac OS X.

You need PyQt-mac-gpl-3.14.1. X11 on Mac is not supported.

Phil

___
PyKDE mailing listPyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde