[PyQt] [SIP] is there a Qt5 example for SIP?

Phil Thompson phil at riverbankcomputing.com
Sat Jul 6 16:12:21 BST 2013


On Sat, 6 Jul 2013 07:30:43 -0700, brett at stottlemyer.com wrote:
> Hi Phil,
> 
> I am trying to see if SIP will help me with a task I'm trying to solve. 
I
> started out by trying the More Complex C++ Example in the docs. 
However,
> I'm using Qt5, and the example is for Qt4.
> 
> I see the pyqtconfig is part of Qt4, but not Qt5.  No problem, except
> pyqtconfig is pretty integrated into the example, and as a beginner, I'm
> not sure how to take pyqtconfig out.
> 
> Is there a Qt5 example for SIP?

Look at the configure.py for PyQt5. A minimal build system would just be a
shell script that invoked sip then the C++ compiler then the linker. The
only thing you need to consider is to use the right -t flags to sip and
these can be found by introspecting current versions of PyQt.

Phil


More information about the PyQt mailing list