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>
This commit is contained in:
parent
1b0080a456
commit
1446cde812
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user