[PyKDE] PyQt / SIP v4 Snapshots for MacOS/X
phil at riverbankcomputing.co.uk
Tue Oct 21 13:04:00 BST 2003
On Tuesday 21 October 2003 11:10 am, Ricardo Javier Cardenes Medina wrote:
> 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:
> #include <qwindowdefs.h>
> 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.
It's a bug in my "manufacturing process". Add...
typedef int Wid;
More information about the PyQt