aboutsummaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorJake Petroules <jake.petroules@petroules.com>2013-04-12 08:33:55 -0400
committerJoerg Bornemann <joerg.bornemann@digia.com>2013-04-12 14:35:35 +0200
commit2edd00b1ae1133320857107fe23a530758aaa136 (patch)
treed39bcf4280f2ca86e457f20c812c61a8d1dd36b7 /share
parentb4935b7adb14dd8ff539b97fbb47e72dbc581723 (diff)
Fix qmFilesDir for iOS.
Change-Id: I5e63482c25233dd92b1e8e8dc5442b7a04ba1128 Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Diffstat (limited to 'share')
-rw-r--r--share/qbs/modules/qt/core/qtcore.qbs2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/qbs/modules/qt/core/qtcore.qbs b/share/qbs/modules/qt/core/qtcore.qbs
index 3807c66a6..37e460469 100644
--- a/share/qbs/modules/qt/core/qtcore.qbs
+++ b/share/qbs/modules/qt/core/qtcore.qbs
@@ -32,7 +32,7 @@ Module {
property string generatedFilesDir: 'GeneratedFiles/' + product.name // ### TODO: changing this property does not change the path in the rule ATM.
property string qmFilesDir: {
if (qbs.targetPlatform.indexOf("darwin") !== -1 && product.type.indexOf('applicationbundle') >= 0)
- return product.name + ".app/Contents/Resources";
+ return product.name + ".app/" + (qbs.targetOS === "mac" ? "Contents/" : "") + "Resources";
return product.destinationDirectory;
}