[PyQt] PyQt5 plugins and qmake variables
Phil Thompson
phil at riverbankcomputing.com
Sun Oct 20 15:20:54 BST 2013
On Fri, 18 Oct 2013 19:34:51 +0400, Dmitry Shachnev <mitya57 at ubuntu.com>
wrote:
> A similar line should also be added to generate_application_makefile()
> which is used for pyrcc/pylupdate.
Thanks,
Phil
> --
> Dmitry Shachnev
> On Oct 18, 2013 10:18 AM, "Dmitry Shachnev" <mitya57 at ubuntu.com> wrote:
>
>> Hi,
>>
>> In Debian we pass some qmake flags to configure.py to enable hardening
(
>> https://wiki.debian.org/Hardening), as-needed linking and so on.
>>
>> This works fine with most of PyQt, but doesn't work with plugins
>> (designer
>> and qml). Adding this line to generate_plugin_makefile() helps:
>>
>> fout.write('\n'.join(target_config.qmake_variables) + '\n')
>>
>> Can you please apply this change upstream? I hope other distros will
find
>> it useful.
>>
>> --
>> Dmitry Shachnev
>>
More information about the PyQt
mailing list