summaryrefslogtreecommitdiff
path: root/src/tools/valgrindfake
diff options
context:
space:
mode:
authorJake Petroules <jake.petroules@qt.io>2017-06-22 10:35:27 -0700
committerJake Petroules <jake.petroules@qt.io>2017-06-23 17:28:58 +0000
commit7ff48935e8720410763bad9caff8b1e32d22017d (patch)
tree9363e0f0a14aee4ecb12ed282329f1a3e62c7d0c /src/tools/valgrindfake
parent2c55c10cac8a72b8c779fece3aef8beb3cc2377b (diff)
downloadqt-creator-7ff48935e8720410763bad9caff8b1e32d22017d.tar.gz
Explicitly specify the minimum macOS version in the qtcjson library
Also don't set the value in more than one place. Change-Id: Iea1dc1d4e127c12d6333799dda91749eb2d604d4 Reviewed-by: Eike Ziller <eike.ziller@qt.io> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'src/tools/valgrindfake')
-rw-r--r--src/tools/valgrindfake/valgrindfake.qbs7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/tools/valgrindfake/valgrindfake.qbs b/src/tools/valgrindfake/valgrindfake.qbs
index e71fba1358..7348b1d8af 100644
--- a/src/tools/valgrindfake/valgrindfake.qbs
+++ b/src/tools/valgrindfake/valgrindfake.qbs
@@ -1,4 +1,5 @@
import qbs
+import qbs.Utilities
CppApplication {
name: "valgrind-fake"
@@ -7,6 +8,12 @@ CppApplication {
Depends { name: "Qt"; submodules: ["network", "xml"]; }
Depends { name: "qtc" }
cpp.cxxLanguageVersion: "c++11"
+
+ Properties {
+ condition: Utilities.versionCompare(Qt.core.version, "5.7") < 0
+ cpp.minimumMacosVersion: project.minimumMacosVersion
+ }
+
files: [
"main.cpp",
"outputgenerator.h", "outputgenerator.cpp"