forked from qt-creator/qt-creator
Android: Warn if the selected device main ABI is not selected
Task-number: QTCREATORBUG-23291 Change-Id: I2ae13edaee30c6548a37e077c18f508a42b42d25 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
@@ -34,6 +34,8 @@
|
||||
#include "qmakeprojectmanagerconstants.h"
|
||||
#include "qmakesettings.h"
|
||||
|
||||
#include <android/androidconstants.h>
|
||||
|
||||
#include <projectexplorer/buildmanager.h>
|
||||
#include <projectexplorer/buildsteplist.h>
|
||||
#include <projectexplorer/gnumakeparser.h>
|
||||
@@ -664,8 +666,12 @@ void QMakeStepConfigWidget::abisChanged()
|
||||
break;
|
||||
}
|
||||
}
|
||||
args << prefix + '"' + abis.join(' ') + '"';
|
||||
if (!abis.isEmpty())
|
||||
args << prefix + '"' + abis.join(' ') + '"';
|
||||
m_step->setExtraArguments(args);
|
||||
|
||||
const QString buildKey = m_step->target()->activeBuildKey();
|
||||
m_step->buildSystem()->setExtraData(buildKey, Android::Constants::ANDROID_ABIS, m_step->selectedAbis());
|
||||
}
|
||||
|
||||
updateSummaryLabel();
|
||||
|
||||
Reference in New Issue
Block a user