summaryrefslogtreecommitdiffstats
path: root/qmake/property.cpp
diff options
context:
space:
mode:
authorAlexey Edelev <alexey.edelev@qt.io>2021-03-09 16:15:26 +0100
committerAlexey Edelev <alexey.edelev@qt.io>2021-03-11 15:46:34 +0100
commitfd3c417af9ea9336057f6d15127d1c51258beaa9 (patch)
tree779c7ada8de8958760dfd725db7e06aa0436daba /qmake/property.cpp
parent3d71f1733da5ffed58850d9d4c8697c7a8e549fa (diff)
Move the common qmake sources into a object library
Some qmake sources could be reused by other tools. It makes sense to move such sources to the object library, to avoid additional compilation steps and to simplify the reuse of sources. Change-Id: I9d7bb7624019149d34d29e4b269b4f26b8aec7a4 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'qmake/property.cpp')
-rw-r--r--qmake/property.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/qmake/property.cpp b/qmake/property.cpp
index 2487ecb5a9..0ef9813eee 100644
--- a/qmake/property.cpp
+++ b/qmake/property.cpp
@@ -93,7 +93,9 @@ void QMakeProperty::reload()
}
m_values[ProKey(name)] = val;
}
+#ifdef QMAKE_VERSION_STR
m_values["QMAKE_VERSION"] = ProString(QMAKE_VERSION_STR);
+#endif
#ifdef QT_VERSION_STR
m_values["QT_VERSION"] = ProString(QT_VERSION_STR);
#endif