summaryrefslogtreecommitdiffstats
path: root/mkspecs
diff options
context:
space:
mode:
authorQt Forward Merge Bot <qt_forward_merge_bot@qt-project.org>2019-03-02 01:00:07 +0100
committerQt Forward Merge Bot <qt_forward_merge_bot@qt-project.org>2019-03-02 01:00:08 +0100
commit607338f98feaa2561340c7ff4249d470b36d0503 (patch)
treeaec623c5af7ec8a6e2f0ac530425ee98a720772c /mkspecs
parentf58e47c2f34c6a703115c9b4486040ba12bd97e9 (diff)
parentf5850cb0da5d9b610711d4fd3c1eaded9d6414e1 (diff)
Merge remote-tracking branch 'origin/5.12' into 5.13
Diffstat (limited to 'mkspecs')
-rw-r--r--mkspecs/features/create_cmake.prf4
-rw-r--r--mkspecs/features/qt_configure.prf2
2 files changed, 4 insertions, 2 deletions
diff --git a/mkspecs/features/create_cmake.prf b/mkspecs/features/create_cmake.prf
index 2ed708e085..6bf1380716 100644
--- a/mkspecs/features/create_cmake.prf
+++ b/mkspecs/features/create_cmake.prf
@@ -200,7 +200,9 @@ CMAKE_QT5_MODULE_DEPS = $$join(lib_deps, ";")
CMAKE_INTERFACE_MODULE_DEPS = $$join(aux_mod_deps, ";")
CMAKE_INTERFACE_QT5_MODULE_DEPS = $$join(aux_lib_deps, ";")
-CMAKE_QT_STEM = Qt$$QT_MAJOR_VERSION$${CMAKE_MODULE_NAME}$${QT_LIBINFIX}
+# TARGET here is the one changed at the end of qt_module.prf,
+# which already contains the Qt5 prefix and QT_LIBINFIX suffix
+CMAKE_QT_STEM = $${TARGET}
mac {
!isEmpty(CMAKE_STATIC_TYPE) {
diff --git a/mkspecs/features/qt_configure.prf b/mkspecs/features/qt_configure.prf
index 874539fcd0..3f6914e243 100644
--- a/mkspecs/features/qt_configure.prf
+++ b/mkspecs/features/qt_configure.prf
@@ -338,7 +338,7 @@ defineTest(qtConfParseCommandLine) {
qtConfAddWarning("Command line option -skip is only effective in top-level builds.")
skipOptionWarningAdded = 1
}
- $$qtConfGetNextCommandlineArg()
+ val = $$qtConfGetNextCommandlineArg()
next()
}