aboutsummaryrefslogtreecommitdiffstats
path: root/share/qbs/modules/cpp/ios-gcc.qbs
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@digia.com>2014-02-25 15:39:22 +0100
committerChristian Kandeler <christian.kandeler@digia.com>2014-02-25 18:17:37 +0100
commiteac4bba41ed9e68dee9a019e0fedc51d220ef112 (patch)
tree97f728cccb9c52e94060d0d6ec4ae55d51b0cabe /share/qbs/modules/cpp/ios-gcc.qbs
parent11a04709f4282a399c75e7ef6cc6624733de4c71 (diff)
use filePath instead of fileName where applicable
This fixes the recently introduced deprecation warnings. Task-number: QBS-258 Change-Id: I10660270895ec89a1444d596922c22e9658ca3ab Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
Diffstat (limited to 'share/qbs/modules/cpp/ios-gcc.qbs')
-rw-r--r--share/qbs/modules/cpp/ios-gcc.qbs4
1 files changed, 2 insertions, 2 deletions
diff --git a/share/qbs/modules/cpp/ios-gcc.qbs b/share/qbs/modules/cpp/ios-gcc.qbs
index 02af5b6d9..626995653 100644
--- a/share/qbs/modules/cpp/ios-gcc.qbs
+++ b/share/qbs/modules/cpp/ios-gcc.qbs
@@ -37,7 +37,7 @@ DarwinGCC {
cmd.highlight = "codegen";
cmd.sysroot = product.moduleProperty("qbs","sysroot");
cmd.sourceCode = function() {
- File.copy(sysroot + "/ResourceRules.plist", outputs.resourcerules[0].fileName);
+ File.copy(sysroot + "/ResourceRules.plist", outputs.resourcerules[0].filePath);
}
return cmd;
}
@@ -66,7 +66,7 @@ DarwinGCC {
var args = ["-sdk", product.moduleProperty("cpp", "xcodeSdkName"), "PackageApplication",
"-v", product.buildDirectory + "/" + BundleTools.wrapperName(product),
- "-o", outputs.ipa[0].fileName, "--sign", signingIdentity,
+ "-o", outputs.ipa[0].filePath, "--sign", signingIdentity,
"--embed", provisioningProfile];
var command = "/usr/bin/xcrun";