diff options
author | Miikka Heikkinen <miikka.heikkinen@digia.com> | 2012-12-07 11:46:43 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2012-12-07 19:55:13 +0100 |
commit | 21105e71382efdb17fd8dc9402f463141267cfcc (patch) | |
tree | 85a35155494e3bd50c63cb3fcb3e0832f9249087 /mkspecs/features | |
parent | 6fb7222707345612984aecd5bdfd75a81770f00a (diff) |
Fix module pri file name for static plugins
Since QTPLUGIN variable values are used to locate both the plugin
library and the module pri file, those must match. Therefore generate
module pri file name using the TARGET of the plugin rather than the
pro file name.
Change-Id: I9ec6f2a087ba3b3cecf7034c8a28b31df155cd97
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Diffstat (limited to 'mkspecs/features')
-rw-r--r-- | mkspecs/features/qt_plugin.prf | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mkspecs/features/qt_plugin.prf b/mkspecs/features/qt_plugin.prf index b84fa47dd1..e09e5d0a3c 100644 --- a/mkspecs/features/qt_plugin.prf +++ b/mkspecs/features/qt_plugin.prf @@ -21,7 +21,7 @@ contains(QT_CONFIG, static):CONFIG += static else:CONFIG += shared !build_pass:static { - isEmpty(MODULE): MODULE = $$section($$list($$basename(_PRO_FILE_)), ., 0, 0) + isEmpty(MODULE): MODULE = $$basename(TARGET) MODULE_PRI = $$MODULE_QMAKE_OUTDIR/mkspecs/modules/qt_plugin_$${MODULE}.pri |