diff options
author | Jake Petroules <jake.petroules@petroules.com> | 2013-04-12 08:33:55 -0400 |
---|---|---|
committer | Joerg Bornemann <joerg.bornemann@digia.com> | 2013-04-12 14:35:35 +0200 |
commit | 2edd00b1ae1133320857107fe23a530758aaa136 (patch) | |
tree | d39bcf4280f2ca86e457f20c812c61a8d1dd36b7 | |
parent | b4935b7adb14dd8ff539b97fbb47e72dbc581723 (diff) |
Fix qmFilesDir for iOS.
Change-Id: I5e63482c25233dd92b1e8e8dc5442b7a04ba1128
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
-rw-r--r-- | share/qbs/modules/qt/core/qtcore.qbs | 2 |
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; } |