Commit 7e453d0e authored by Eike Ziller's avatar Eike Ziller

sdktool: Fix settings location on Windows.

Broke when fixing the location on Linux.

Change-Id: I704773a255cdc1eea77aa234ab6f710d264720b0
Reviewed-by: default avatarTobias Hunger <tobias.hunger@theqtcompany.com>
Reviewed-by: default avatarChristian Kandeler <christian.kandeler@theqtcompany.com>
parent 5c70775e
......@@ -47,4 +47,5 @@ HEADERS += \
settings.h \
macx:DEFINES += "DATA_PATH=\"\\\".\\\"\""
else:win32:DEFINES += "DATA_PATH=\"\\\"../share/qtcreator\\\"\""
else:DEFINES += "DATA_PATH=\"\\\"../../share/qtcreator\\\"\""
......@@ -8,7 +8,9 @@ QtcTool {
Depends { name: "app_version_header" }
cpp.defines: base.concat([qbs.targetOS.contains("osx")
? 'DATA_PATH="."' : 'DATA_PATH="../../share/qtcreator"'])
? 'DATA_PATH="."'
: qbs.targetOS.contains("windows") ? 'DATA_PATH="../share/qtcreator"'
: 'DATA_PATH="../../share/qtcreator"'])
files: [
"adddebuggeroperation.cpp", "adddebuggeroperation.h",
......
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