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>
This commit is contained in:
parent
6fb7222707
commit
21105e7138
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user