[PyKDE] Building PyQt with QT/E on x86

Phil Thompson phil at riverbankcomputing.co.uk
Thu May 6 19:55:01 BST 2004

On Thursday 06 May 2004 6:44 pm, James Lamanna wrote:
> Phil Thompson wrote:
> > On Thursday 06 May 2004 4:48 pm, James Lamanna wrote:
> >>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?
> >
> > Remove the offending functions from the corresponding .sip files.
> Should I do that, or define the OS as WS_QWS (or will this cause further
> problems?)

You could try it - it would also deselect some functions/classes. Whether 
these are appropriate for your version of Qt/E...


More information about the PyQt mailing list