On Friday 07 May 2010, [email protected] wrote: > I am trying to build PyQt4 (version 4.7.3, to be exact) onto a Gumstix > Overo microcontroller. However, the installation failed when it is trying > to compile QtGui with the following error:- > > sipQtGuicmodule.cpp:10698: error: 'XEvent' has not been declared > sipQtGuicmodule.cpp: In function 'PyObjec* > func_qt_x11_wait_window_manager(PyObject*, PyObject*, PyObject*)': > sipQtGuicmodule.cpp:13061: error: 'qt_x11_wait_for_window_manager' was not > declared in this scope
OK, it sounds like you're building against a non-X11 version of Qt. > The full process are noted below:- [...] > So, my question would be if there's something wrong with what I am doing, > or if I have configured my Qt installation wrong? I configured PyQt > normally without any additional flag, while my I have two folders in my Qt > installation folder (/usr/local/Trolltech/) which is named "Qt-4.6.2" and > "QtEmbedded-4.6.2-arm". qmake is pointed to the Qt-4.6.2 Is the Qt-4.6.2 installation a regular X11 installation, and is the QtEmbedded-4.6.2-arm installation a QWS (non-X11, embedded Linux) installation? It sounds like there is a mismatch between PyQt and the installation of Qt you are using. If I remember correctly, you should be using the qmake executable in the QtEmbedded-4.6.2-arm installation. Can you say how you configured each Qt library and how you configured PyQt? (Which options did you pass to the configure scripts?) David _______________________________________________ PyQt mailing list [email protected] http://www.riverbankcomputing.com/mailman/listinfo/pyqt
