<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">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>