[PyQt] PyQt 4.7.3 on Gumstix - Installation failed

Mohamad Najib fixed-term.mohamadnjib.muhammadnoor at de.bosch.com
Fri May 7 07:15:31 BST 2010


Dear all,

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

The full process are noted below:-

make[1]: Entering directory `/home/root/PyQt-x11-gpl-4.7.3/qpy'
make[2]: Entering directory `/home/root/PyQt-x11-gpl-4.7.3/qpy/QtCore'
make[2]: Nothing to be done for `first'.
make[2]: Leaving directory `/home/root/PyQt-x11-gpl-4.7.3/qpy/QtCore'
make[2]: Entering directory `/home/root/PyQt-x11-gpl-4.7.3/qpy/QtGui'
make[2]: Nothing to be done for `first'.
make[2]: Leaving directory `/home/root/PyQt-x11-gpl-4.7.3/qpy/QtGui'
make[1]: Leaving directory `/home/root/PyQt-x11-gpl-4.7.3/qpy'
make[1]: Entering directory `/home/root/PyQt-x11-gpl-4.7.3/QtCore'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/root/PyQt-x11-gpl-4.7.3/QtCore'
make[1]: Entering directory `/home/root/PyQt-x11-gpl-4.7.3/QtGui'
arm-linux-g++ -c -pipe -fPIC -O2 -Wall -W -D_REENTRANT -DNDEBUG
-DSIP_PROTECTED_IS_PUBLIC -Dprotected=public -DQT_NO_DEBUG -DQT_GUI_LIB
-DQT_CORE_LIB -I. -I/home/root/PyQt-x11-gpl-4.7.3/qpy/QtGui
-I/usr/local/include/python2.6
-I/usr/local/Trolltech/QtEmbedded-4.6.2-arm/mkspecs/default
-I/usr/local/Trolltech/QtEmbedded-4.6.2-arm/include/QtGui
-I/usr/local/Trolltech/QtEmbedded-4.6.2-arm/include/QtCore
-I/usr/local/Trolltech/QtEmbedded-4.6.2-arm/include -o sipQtGuicmodule.o
sipQtGuicmodule.cpp


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 

Thank you in advance. 

Regards,
Mohamad Najib
-- 
View this message in context: http://old.nabble.com/PyQt-4.7.3-on-Gumstix---Installation-failed-tp28482582p28482582.html
Sent from the PyQt mailing list archive at Nabble.com.



More information about the PyQt mailing list