aboutsummaryrefslogtreecommitdiffstats
path: root/qbs-resources/imports
diff options
context:
space:
mode:
authorJake Petroules <jake.petroules@petroules.com>2015-07-21 19:04:28 -0700
committerJake Petroules <jake.petroules@petroules.com>2015-07-22 08:00:52 +0000
commitf388e98a7f2043a01f15a9d4faaff5ab077fce6a (patch)
treea5fe380f636f28ea1b500de533c0ad3c211799ff /qbs-resources/imports
parent2372d29fbd0c31bb4e6c9cde749cbbdf9c735680 (diff)
Define QT_NO_PROCESS_COMBINED_ARGUMENT_START.
This will be present in Qt 5.6, and prevents use of dangerous overloads of QProcess::start. Change-Id: Ibd58091bcae1f326ab62ad14deef7a99138cdc6b Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
Diffstat (limited to 'qbs-resources/imports')
-rw-r--r--qbs-resources/imports/QbsProduct.qbs2
1 files changed, 1 insertions, 1 deletions
diff --git a/qbs-resources/imports/QbsProduct.qbs b/qbs-resources/imports/QbsProduct.qbs
index 80fe5601d..094013f61 100644
--- a/qbs-resources/imports/QbsProduct.qbs
+++ b/qbs-resources/imports/QbsProduct.qbs
@@ -4,6 +4,6 @@ import QbsFunctions
Product {
Depends { name: "Qt.core" }
property string minimumQtVersion: "5.1.0"
- cpp.defines: ["QT_NO_CAST_FROM_ASCII"]
+ cpp.defines: ["QT_NO_CAST_FROM_ASCII", "QT_NO_PROCESS_COMBINED_ARGUMENT_START"]
condition: QbsFunctions.versionIsAtLeast(Qt.core.version, minimumQtVersion)
}