forked from qt-creator/qt-creator
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: BogDan Vatra <bogdan@kde.org>
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user