diff options
author | Miguel Costa <miguel.costa@qt.io> | 2019-10-11 14:28:55 +0200 |
---|---|---|
committer | Miguel Costa <miguel.costa@qt.io> | 2019-10-14 13:31:05 +0000 |
commit | 0aa4799b37048c0ce3529e984ff96ebf463a8a3f (patch) | |
tree | 1d26715c25ace20319cbbd4ca1341fe648ea1815 | |
parent | 6f178aeafcb8c5217ff3f47c5690c3886f042800 (diff) |
Fix build errors with earlier version Qt
When using an earlier version of Qt (<= 5.7), projects will no longer
generate build errors. This was caused by the use of a qmake function
(sorted) that was not yet available in these versions.
Task-number: QTVSADDINBUG-680
Change-Id: Ibc7ad5dbb26c9f3d7fb3812cedd31b345a317f84
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
-rw-r--r-- | src/qtmsbuild/qt_vars.targets | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qtmsbuild/qt_vars.targets b/src/qtmsbuild/qt_vars.targets index 2c1da5a0..70b15f67 100644 --- a/src/qtmsbuild/qt_vars.targets +++ b/src/qtmsbuild/qt_vars.targets @@ -220,7 +220,7 @@ contains(varNames, LIBS) { ## Append Qt variables to .props (XML) file # -for (varName, $$list($$sorted(varNames))) { +for (varName, varNames) { propName = "Qt_$${varName}_" text = "<$${propName}>"$$formatMsBuildString($$eval($$varName))"</$${propName}>" write_file($$fileName, text, append) |