aboutsummaryrefslogtreecommitdiffstats
path: root/share/qbs/modules/bundle/BundleModule.qbs
diff options
context:
space:
mode:
authorJake Petroules <jake.petroules@theqtcompany.com>2015-11-11 19:23:37 -0800
committerJake Petroules <jake.petroules@theqtcompany.com>2015-11-27 10:26:08 +0000
commita08c71b90d7dc88fd4175bb64797a43254cc14d7 (patch)
tree667f75eb37e5e6f21f5295809ec8ee4482c1641e /share/qbs/modules/bundle/BundleModule.qbs
parent8035c6a5babd0e41e54dc7bce06842978a34cbd9 (diff)
Move global auxiliary functions into a new Utilities extension.
Change-Id: If0f12b9d28b83080f4435d91b55d70d5cff5d42e Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
Diffstat (limited to 'share/qbs/modules/bundle/BundleModule.qbs')
-rw-r--r--share/qbs/modules/bundle/BundleModule.qbs3
1 files changed, 2 insertions, 1 deletions
diff --git a/share/qbs/modules/bundle/BundleModule.qbs b/share/qbs/modules/bundle/BundleModule.qbs
index 5f7b3dfac..8ec0e8458 100644
--- a/share/qbs/modules/bundle/BundleModule.qbs
+++ b/share/qbs/modules/bundle/BundleModule.qbs
@@ -36,6 +36,7 @@ import qbs.FileInfo
import qbs.ModUtils
import qbs.PropertyList
import qbs.TextFile
+import qbs.Utilities
Module {
additionalProductTypes: ["bundle"]
@@ -48,7 +49,7 @@ Module {
property bool isShallow: !qbs.targetOS.contains("osx") && product.type.contains("application")
property string identifierPrefix: "org.example"
- property string identifier: [identifierPrefix, qbs.rfc1034Identifier(product.targetName)].join(".")
+ property string identifier: [identifierPrefix, Utilities.rfc1034Identifier(product.targetName)].join(".")
property string extension: {
if (packageType === undefined) {