Commit 2167788b authored by Christian Kandeler's avatar Christian Kandeler

qbs project files: Use FileInfo.fromWindowsSeparators().

Change-Id: I92f2d5866c721d33c86894fc65b75723c8596307
Reviewed-by: default avatarJoerg Bornemann <joerg.bornemann@digia.com>
parent fc9347ff
import qbs.base 1.0
import qbs.FileInfo
import "../QtcPlugin.qbs" as QtcPlugin
......@@ -45,7 +46,9 @@ QtcPlugin {
cpp.defines: base.concat([
'QML_BUILD_STATIC_LIB',
'QBS_INSTALL_DIR="'
+ (project.useExternalQbs ? project.qbs_install_dir.split("\\").join("/") : '')
+ (project.useExternalQbs
? FileInfo.fromWindowsSeparators(project.qbs_install_dir)
: '')
+ '"'
])
cpp.includePaths: base.concat(externalQbsIncludes)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment