[PyQt] Compiling PyQt 4 with QT_NAMESPACE=x

Phil Thompson phil at riverbankcomputing.com
Mon Oct 18 17:39:13 BST 2010


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