[PyKDE] Building PyQt with QT/E on x86

Michael Lauer mickey at tm.informatik.uni-frankfurt.de
Thu May 6 20:15:01 BST 2004

Am Do, den 06.05.2004 um 8:48 Uhr -0700 schrieb James Lamanna:
> I'm trying to buld PyQt against Qt/Embedded on a x86 platform.
> The reason I am using Qt Embedded is that I want this to be a very 
> lightweight system (aka, no xwindows).
> I've be able to get sip4.0rc3 to build properly, but now I'm stuck with 
> the following error building PyQt-3.11:
> sipqtcmodule.cpp:11196: error: 'qt_xdisplay' undeclared (first use this 
> function)
> Obviously it looks as if PyQt still expects X11 to be there.
> Is there any way to turn off X11 support in PyQt so that it will build 
> against Qt/E not on a Zaurus?

Tell it to use the proper QMAKESPEC. Use the qmakespecs in the qws
subdirectory. Those define -DQWS (and a few other things).


More information about the PyQt mailing list