[PyQt] Linking with a debug build of Qt 5.1 on OSX

Glenn Ramsey gr at componic.co.nz
Thu Aug 29 00:59:59 BST 2013


On 29/08/13 11:42, Glenn Ramsey wrote:
> Hi,
>
> How do I get PyQt (5.1 snapshot) to link with a debug build of Qt (5.1) on OSX?
>
> If I try a debug only build of Qt then it wants me to use the -no-framework flag
> and the PyQt configure script doesn't recognise the Qt build. The other option
> is to use -debug-and-release to build Qt, in which case the PyQt configure
> script links with the release versions of the frameworks.

Nevermind. It is done by setting the environment variable
DYLD_IMAGE_SUFFIX=_debug .

Glenn



More information about the PyQt mailing list