summaryrefslogtreecommitdiff
path: root/share/qbs/modules/cpp/windows-mingw.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/windows-mingw.qbs
parent11a04709f4282a399c75e7ef6cc6624733de4c71 (diff)
downloadqbs-eac4bba41ed9e68dee9a019e0fedc51d220ef112.tar.gz
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/windows-mingw.qbs')
-rw-r--r--share/qbs/modules/cpp/windows-mingw.qbs4
1 files changed, 2 insertions, 2 deletions
diff --git a/share/qbs/modules/cpp/windows-mingw.qbs b/share/qbs/modules/cpp/windows-mingw.qbs
index 72172328e..5e6fb40ae 100644
--- a/share/qbs/modules/cpp/windows-mingw.qbs
+++ b/share/qbs/modules/cpp/windows-mingw.qbs
@@ -68,9 +68,9 @@ GenericGCC {
args.push(systemIncludePaths[i]);
}
- args = args.concat(['-i', input.fileName, '-o', output.fileName]);
+ args = args.concat(['-i', input.filePath, '-o', output.filePath]);
var cmd = new Command(ModUtils.moduleProperty(product, "windresPath"), args);
- cmd.description = 'compiling ' + FileInfo.fileName(input.fileName);
+ cmd.description = 'compiling ' + FileInfo.fileName(input.filePath);
cmd.highlight = 'compiler';
return cmd;
}