[PyKDE] Re: [C++-sig] Can boost.python and PyQt be used together?

Paul F. Kunz Paul_Kunz at SLAC.Stanford.EDU
Wed Dec 11 19:32:00 GMT 2002

   Me again, one final time on this topic.

   I built a Python extension module for my C++ CanvasWindow class using
SIP.   Now the following works...

[pfkeb at Kunz-pbdsl1 sip]$ python
Python 2.2.2 (#1, Oct 15 2002, 07:42:56) 
[GCC 2.95.3 20010315 (release)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> from qt import *
>>> app = QApplication ( sys.argv)
>>> from sihippo import *
>>> cw = CanvasWindow()
>>> cw.show()
>>> app.exec_loop()

   So it appears that SIP and Boost.Python modules can not work
together if they are both interfacing to Qt.

More information about the PyQt mailing list