forked from qt-creator/qt-creator
Android: Check if DebugDeployment is usable.
It might happen when the user changes the kit from Qt 5.4 to Qt 5.3. Change-Id: Ib9597ac0189bdc1ac4e82ac8b5de5e090f09283e Reviewed-by: Daniel Teske <daniel.teske@digia.com>
This commit is contained in:
@@ -84,7 +84,11 @@ AndroidBuildApkStep::AndroidBuildApkStep(ProjectExplorer::BuildStepList *parent,
|
|||||||
m_openPackageLocation(other->m_openPackageLocation),
|
m_openPackageLocation(other->m_openPackageLocation),
|
||||||
m_buildTargetSdk(other->m_buildTargetSdk)
|
m_buildTargetSdk(other->m_buildTargetSdk)
|
||||||
{
|
{
|
||||||
|
const QtSupport::BaseQtVersion *version = QtSupport::QtKitInformation::qtVersion(target()->kit());
|
||||||
|
if (version->qtVersion() < QtSupport::QtVersionNumber(5, 4, 0)) {
|
||||||
|
if (m_deployAction == DebugDeployment)
|
||||||
|
m_deployAction = BundleLibrariesDeployment;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
bool AndroidBuildApkStep::init()
|
bool AndroidBuildApkStep::init()
|
||||||
|
|||||||
Reference in New Issue
Block a user