[PyQt] Compiling PyQt 4 with QT_NAMESPACE=x

Elias Bachaalany lallousz-pyqt4 at yahoo.com
Tue Oct 19 09:54:49 BST 2010


Thank you Phil.

For the plugin I am developing (which links to a different namespace set 
of QT dlls) can I provide precompiled PyQt (*.pyd) files for download 
meanwhile?

Regards,
Elias

On 10/18/2010 6:39 PM, Phil Thompson wrote:
> On Mon, 18 Oct 2010 17:36:51 +0200, Elias Bachaalany
> <lallousz-pyqt4 at yahoo.com>  wrote:
>> Hello,
>>
>> I was trying to compile PyQt while using Qt that is configured with a
>> different namespace.
>>
>> The steps to do that:
>>
>> 1. Configure sip with: configure.py DEFINES+=QT_NAMESPACE=x
>> 2. Apply the attached patch (tested with PyQt 4.7.7 and Qt SDK 4.6.3)
>> 3. Configure PyQt with: configure.py --qtnamespace=x -w
>>
>> Maybe I reinvented the wheel and missed some options that would allow me
>
>> to compile with a different namespace w/o having to resort to such a
> patch.
>>
>> If this patch is correct or can be corrected and integrated in the
>> upcoming snapshots it would be great.
>
> It won't make it to the next release, but I'll look at it after that.
>
> Thanks,
> Phil




More information about the PyQt mailing list