[PyQt] Patch for SIP to add -qtlibinfix support

Phil Thompson phil at riverbankcomputing.com
Fri Jul 29 19:24:20 BST 2011


On Fri, 15 Jul 2011 10:23:09 -0700, Ian Scott <iscott at parallelengines.com>
wrote:
> Attached is a patch to add support for -qtlibinfix to SIP's siputils.py.

> A while ago someone else on the list requested this feature: 
>
<http://old.nabble.com/Build-PyQt-with-%22qtlibinfix%22-specified-for-Qt-libraries.-td29939267.html>
> 
> What it does is check for the value QT_LIBINFIX in mkspecs/qconfig.pri, 
> as that seems to be the most reliable method for auto-detecting if Qt 
> was configured with the -qtlibinfix option. This is what cmake does to 
> determine the library infix.
> 
> Any comments? Could this be added to future releases of SIP?
> 
> Ian

I've added a modified version - thanks.

Phil


More information about the PyQt mailing list