[PyQt] Cross Compiled PYQT

Hal Glenn hglenn at 2g-eng.com
Fri Apr 11 23:09:25 BST 2008

OK, I ended up following David's example completely, at first we had 
tried with newer versions of Python QT sip etc but each one possessed a 
problem so we dropped back to using David's work almost word for word, 
accept in order to cross compile Python we had to edit it's Makefile 
slightly to build the correct architecture python libs. One we had all 
that done, we copied the tree over to our device (gumstix) and ran a few 
tests on QT and Python. Both seemed to be working fine.

But once we started trying to looking PYQT we got a Seg fault... don't 
suppose any of you know what this means? besides it's broke :)

root at gumstix-custom-verdex:~/inclinometer$ /qtopia/bin/python
Python 2.4.4 (#4, Apr 11 2008, 14:25:03)
[GCC 4.1.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
 >>> from PyQt4 import  QtGui
 >>> a = QtGui.QApplication(['',"-qws"])
 >>> w = QtGui.QWidget()
 >>> w.show()
QPaintDevice::metrics: Device has no metric information
Unrecognised metric -1095300876!
 >>> Segmentation fault
root at gumstix-custom-verdex:~/inclinometer$


More information about the PyQt mailing list