Commit 6c7ab912 authored by Daniel Teske's avatar Daniel Teske
Browse files

Android: Fix opening of package location on Windows



Utils::FileName::append appends a slash, so appending a string
which starts with a slash leads to a double slash.

And explorer.exe doesn't like this double slash.

Change-Id: I2549aca9ec51fad092f006a16f092a02c3a83149
Task-number: QTCREATORBUG-14568
Reviewed-by: default avatarBogDan Vatra <bogdan@kde.org>
parent 4c2ab742
...@@ -48,9 +48,9 @@ Utils::FileName Android::AndroidQtSupport::apkPath(ProjectExplorer::Target *targ ...@@ -48,9 +48,9 @@ Utils::FileName Android::AndroidQtSupport::apkPath(ProjectExplorer::Target *targ
QString apkPath; QString apkPath;
if (buildApkStep->useGradle()) if (buildApkStep->useGradle())
apkPath = QLatin1String("/build/outputs/apk/android-build-"); apkPath = QLatin1String("build/outputs/apk/android-build-");
else else
apkPath = QLatin1String("/bin/QtApp-"); apkPath = QLatin1String("bin/QtApp-");
if (buildApkStep->signPackage()) if (buildApkStep->signPackage())
apkPath += QLatin1String("release.apk"); apkPath += QLatin1String("release.apk");
else else
......
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