[PyKDE] PyQt / SIP v4 Snapshots for MacOS/X
Ricardo Javier Cardenes Medina
rcardenes at debian.org
Tue Oct 21 12:21:01 BST 2003
On Tue, Oct 21, 2003 at 09:26:30AM +0100, Phil Thompson wrote:
> I am now creating MacOS/X specific snapshots for PyQT and SIP v4 in the usual
> place. The current snapshots may even build out of the box - feedback please.
Building out of the box, sip builds fine, PyQt doesn't. At build.py:
elif sys.platform == "win32":
plattag = "WS_WIN"
+ elif sys.platform == "darwin":
+ plattag = "WS_MACX"
plattag = "WS_X11"
Then, when generating qt modules files, I get:
sip: WId is undefined
That's weird. The only references to WId are from qpixmap.sip and
qwidget.sip (qwindowdefs_qws.sip too, but that's out of scope). Both
those files are included into qtmod.sip after qwindowdefs.sip, which
#include's qwindowdefs.h. From a simple:
I can see that WId is being defined:
bifrost@/tmp$ c++ -E -I/usr/local/qt/include inc.cc | grep WId
typedef int WId;
So I don't know what's happening.
More information about the PyQt