Commit 91ad4e17 authored by Daniel Teske's avatar Daniel Teske

Android: Make library projects building skip apk packaging

There are use cases for building libraries, and this makes
them buildable by default.

Task-number: QTCREATORBUG-14734
Task-number: QTCREATORBUG-14710
Change-Id: I36a29a8c5aa23fa21213a05e512a7bd126f00c81
Reviewed-by: default avatarBogDan Vatra <bogdan@kde.org>
parent b419ff48
......@@ -207,9 +207,9 @@ bool QmakeAndroidBuildApkStep::init()
return true;
QString inputFile = node->singleVariableValue(QmakeProjectManager::AndroidDeploySettingsFile);
if (inputFile.isEmpty()) { // should never happen
emit addOutput(tr("Internal Error: Unknown Android deployment JSON file location."), BuildStep::ErrorMessageOutput);
return false;
if (inputFile.isEmpty()) {
m_skipBuilding = true;
return true;
}
QStringList arguments;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment