aboutsummaryrefslogtreecommitdiffstats
path: root/src/app/qbs/qbs.qbs
diff options
context:
space:
mode:
authorJake Petroules <jake.petroules@qt.io>2016-12-06 00:26:58 -0800
committerJake Petroules <jake.petroules@qt.io>2017-01-30 08:53:19 +0000
commit7949bf108655c0c3e2696ab5dec4ec3ae8248acb (patch)
tree84cbdb7c272024853a6e873f168f75065880c03e /src/app/qbs/qbs.qbs
parentf4d51b56f771d6e42210f967f989b03391fd5bbd (diff)
Add a Utilities.cStringQuote function
This accepts a raw string and provides a C string literal, properly escaped and quoted. Change-Id: I61a02ce07f152f36ac31bf973932a7f88406bb75 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'src/app/qbs/qbs.qbs')
-rw-r--r--src/app/qbs/qbs.qbs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/app/qbs/qbs.qbs b/src/app/qbs/qbs.qbs
index 66947e550..da02da68f 100644
--- a/src/app/qbs/qbs.qbs
+++ b/src/app/qbs/qbs.qbs
@@ -5,6 +5,7 @@ QbsApp {
name: "qbs_app"
Depends { name: "qbs resources" }
targetName: "qbs"
+ // TODO: Use Utilities.cStringQuote
cpp.defines: base.concat([
'QBS_VERSION="' + QbsFunctions.qbsVersion() + '"',
'QBS_RELATIVE_LIBEXEC_PATH="' + qbsbuildconfig.relativeLibexecPath + '"',