summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhjk <hjk@qt.io>2020-09-15 08:03:08 +0200
committerhjk <hjk@qt.io>2020-09-15 06:45:17 +0000
commit0d6409c20c5317e6b65a2beb64d80319232e3123 (patch)
treeac30216c3bc7b1684afcd662eff3248a5c47e9b4
parentca61a3591001e53360d088d850745a61c9681a2b (diff)
downloadqt-creator-0d6409c20c5317e6b65a2beb64d80319232e3123.tar.gz
Android: Fix use of commandline arguments to build apk
After 69ff17aa2d59, the concealed password was passed to the process. Change-Id: I69aab38e8898e5416231e863484e6702f3357841 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
-rw-r--r--src/plugins/android/androidbuildapkstep.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/android/androidbuildapkstep.cpp b/src/plugins/android/androidbuildapkstep.cpp
index ec729d8fd5..046f7086f1 100644
--- a/src/plugins/android/androidbuildapkstep.cpp
+++ b/src/plugins/android/androidbuildapkstep.cpp
@@ -638,7 +638,7 @@ bool AndroidBuildApkStep::init()
// Generate arguments with keystore password concealed
ProjectExplorer::ProcessParameters pp2;
setupProcessParameters(&pp2);
- pp->setCommandLine({command, argumentsPasswordConcealed});
+ pp2.setCommandLine({command, argumentsPasswordConcealed});
m_command = pp2.effectiveCommand().toString();
m_argumentsPasswordConcealed = pp2.prettyArguments();