summaryrefslogtreecommitdiffstats
path: root/src/tools
diff options
context:
space:
mode:
authorAndy Shaw <andy.shaw@qt.io>2018-11-07 21:14:01 +0100
committerJani Heikkinen <jani.heikkinen@qt.io>2018-11-12 18:59:45 +0000
commit1446cde812fc557de4e29db3d63c42a1030e5c1f (patch)
tree55c53a9190c02278cb31b277f8e7e750a39d1453 /src/tools
parent1b0080a456871a52ac9b11ed8c9685b93bf20723 (diff)
Android: Make sure that the path is using / for separators
When passing \ to Gradle it will strip these out, so by using / it ensures that it is able to find the Android SDK directory fine. Change-Id: I053f087438ade6c30d015abe00e9958beb90a947 Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/androiddeployqt/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/androiddeployqt/main.cpp b/src/tools/androiddeployqt/main.cpp
index 3b78d2487f..11213872f3 100644
--- a/src/tools/androiddeployqt/main.cpp
+++ b/src/tools/androiddeployqt/main.cpp
@@ -707,7 +707,7 @@ bool readInputFile(Options *options)
return false;
}
- options->sdkPath = sdkPath.toString();
+ options->sdkPath = QDir::fromNativeSeparators(sdkPath.toString());
if (options->androidPlatform.isEmpty()) {
options->androidPlatform = detectLatestAndroidPlatform(options->sdkPath);