diff options
Diffstat (limited to 'mkspecs/features/qt_tool.prf')
-rw-r--r-- | mkspecs/features/qt_tool.prf | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/mkspecs/features/qt_tool.prf b/mkspecs/features/qt_tool.prf index 758d52444c..d17e06a7fa 100644 --- a/mkspecs/features/qt_tool.prf +++ b/mkspecs/features/qt_tool.prf @@ -64,22 +64,7 @@ INSTALLS += target QT_TOOL_ENV += deppath pluginpath } - for(env, QT_TOOL_ENV) { - value = $$eval($${env}.value) - !isEmpty(value) { - name = $$eval($${env}.name) - equals(QMAKE_DIR_SEP, /) { - contains($${env}.CONFIG, prepend): infix = \${$$name:+:\$$$name} - else: infix = - cmd = "$$name=$$join(value, :)$$infix $$cmd" - } else { - # Escape closing parens when expanding the variable, otherwise cmd confuses itself. - contains($${env}.CONFIG, prepend): infix = ;%$$name:)=^)% - else: infix = - cmd = "(set $$name=$$join(value, ;)$$infix) & $$cmd" - } - } - } + qtAddToolEnv(cmd, $$QT_TOOL_ENV) TOOL_PRI = $$MODULE_QMAKE_OUTDIR/mkspecs/modules/qt_$${MODULE}.pri |