Skip to content
Snippets Groups Projects
Commit f3f40b14 authored by BogDan Vatra's avatar BogDan Vatra
Browse files

Android: add --release parameter when building for Release.


Change-Id: Ie5875f076039b25f03f9a872a85ca7c249659dc8
Reviewed-by: default avatarDaniel Teske <daniel.teske@digia.com>
parent 49b5502a
No related branches found
No related tags found
No related merge requests found
......@@ -233,6 +233,9 @@ bool QmakeAndroidBuildApkStep::init()
if (m_verbose)
arguments << QLatin1String("--verbose");
if (buildConfiguration()->buildType() == ProjectExplorer::BuildConfiguration::Release)
arguments << QLatin1String("--release");
if (m_signPackage) {
arguments << QLatin1String("--sign")
<< m_keystorePath.toString()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment