<p dir="ltr">A similar line should also be added to generate_application_makefile() which is used for pyrcc/pylupdate.</p>
<p dir="ltr">--<br>
Dmitry Shachnev</p>
<div class="gmail_quote">On Oct 18, 2013 10:18 AM, "Dmitry Shachnev" <<a href="mailto:mitya57@ubuntu.com">mitya57@ubuntu.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<p dir="ltr">Hi,</p>
<p dir="ltr">In Debian we pass some qmake flags to configure.py to enable hardening (<a href="https://wiki.debian.org/Hardening" target="_blank">https://wiki.debian.org/Hardening</a>), as-needed linking and so on.</p>
<p dir="ltr">This works fine with most of PyQt, but doesn't work with plugins (designer and qml). Adding this line to generate_plugin_makefile() helps:</p>
<p dir="ltr">fout.write('\n'.join(target_config.qmake_variables) + '\n')</p>
<p dir="ltr">Can you please apply this change upstream? I hope other distros will find it useful.</p>
<p dir="ltr">--<br>
Dmitry Shachnev</p>
</blockquote></div>