[PyQt] pyqtconfig and pyqt4 build system

Phil Thompson phil at riverbankcomputing.com
Fri Mar 28 09:19:31 GMT 2014


On 28-03-2014 8:31 am, Tommaso Vinci wrote:
> Dear all,
> I'm working on a c++/python/qt project it's written in c++/qt but we
> could also provide the python module via pyqtconfig, here is our sip
> configure we're using now
> https://github.com/aflux/neutrino/blob/master/sip/configure.py
>
> since v4.10 pyqt has been radically reduced
> http://pyqt.sourceforge.net/Docs/PyQt4/build_system.html
>
> I've had a quick look in the configure.py in the qscintilla/python 
> tree
> and noticed that became more complex: linecount doubled in the last 
> version!
>
> Now, I don't know the reasons of this radical change (I searched in 
> the
> mailing list archives without success), I can try to make a new
> configure.py as qscintilla does, but I wonder it this will get worse 
> soon.
> Is there a main guideline for this?
>
> besides qscintilla's configure.py is there a tutorial somewere?
> I used this one http://lynxline.com/qt-python-superhybrids/

The reason for the change is that SIP v5 will not include sipconfig.py. 
sipconfig.py does a similar job to qmake and reads the same qmake spec 
files. Over time those spec files have become much more complicated 
making sipconfig.py difficult to maintain - better to let qmake handle 
them.

Phil


More information about the PyQt mailing list