[PyQt] PyQt(3) QDockWindow error

V. Armando Sole sole at esrf.fr
Wed Mar 28 14:21:06 BST 2007


Hello,

I have problems with the latest PyQt snapshot (February) and latest sip 
snapshot.
The problems come from the fact QDockWindow.boxLayout() returns a 
QSpacerItem instead of a QBoxLayout.

At the python promt :

import qt
app = qt.QApplication([])
w = qt.QDockWindow()
w.boxLayout()

<qt.QSpacerItem object at 0x405a882c>

That does not happen with the non snapshot versions of sip and PyQt3. My 
problem is that I need the latest sip snapshots in order to avoid the 
deadlocks in PyQt4 threads and the non-snapshot version of PyQt3 does not 
compile with the latest sip snapshot.

The platform is linux (SuSE 8.2, qt 3.3.6 and 3.3.8).

Best regards,

Armando




More information about the PyQt mailing list