From 9411cd2db367ddd1e5ce1afd3b50758e6bd731df Mon Sep 17 00:00:00 2001 From: Eskil Abrahamsen Blomfeldt Date: Tue, 18 Nov 2014 12:05:28 +0100 Subject: [PATCH] Android: Don't create unsigned packages The --release argument for androiddeployqt is really not very useful, since it will create an unsigned package which cannot be installed on a device or published in any way. This is a very special use case, which I don't think we need to support in Creator, and it should at least not be connected to the build flags for the C++ code, since it's quite possible that you want to build your application code in release, but still sign the apk with a debug key to test it. Task-number: QTCREATORBUG-13431 Change-Id: I752bfdf396eab596637ab111c7844128962db1fd Reviewed-by: Daniel Teske Reviewed-by: BogDan Vatra --- src/plugins/qmakeandroidsupport/qmakeandroidbuildapkstep.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/plugins/qmakeandroidsupport/qmakeandroidbuildapkstep.cpp b/src/plugins/qmakeandroidsupport/qmakeandroidbuildapkstep.cpp index 4e48094d0d3..6579fc8d162 100644 --- a/src/plugins/qmakeandroidsupport/qmakeandroidbuildapkstep.cpp +++ b/src/plugins/qmakeandroidsupport/qmakeandroidbuildapkstep.cpp @@ -238,8 +238,6 @@ bool QmakeAndroidBuildApkStep::init() arguments << QLatin1String("--ant") << AndroidConfigurations::currentConfig().antToolPath().toString(); - if (buildConfiguration()->buildType() == ProjectExplorer::BuildConfiguration::Release) - arguments << QLatin1String("--release"); QStringList argumentsPasswordConcealed = arguments;