aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/android
diff options
context:
space:
mode:
authorAssam Boudjelthia <assam.boudjelthia@qt.io>2020-08-11 17:53:44 +0300
committerAssam Boudjelthia <assam.boudjelthia@qt.io>2020-08-13 10:49:18 +0000
commit54b1aaed0381c0d6dce14caad2a3223620e7cc7a (patch)
treee3e189d05df19e29534923e74370a014bc0ddd23 /src/plugins/android
parent56e4595fd806e538b051290135075a01acd5a376 (diff)
Android: warn about wrong ABI in issues pane instead of general messages
Change-Id: I7b11b0b91f2843ee3d95d86b9afc772295dd6e94 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Diffstat (limited to 'src/plugins/android')
-rw-r--r--src/plugins/android/androiddeployqtstep.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/plugins/android/androiddeployqtstep.cpp b/src/plugins/android/androiddeployqtstep.cpp
index 96be06a696..27cd6daf0c 100644
--- a/src/plugins/android/androiddeployqtstep.cpp
+++ b/src/plugins/android/androiddeployqtstep.cpp
@@ -45,6 +45,7 @@
#include <projectexplorer/projectnodes.h>
#include <projectexplorer/runconfiguration.h>
#include <projectexplorer/target.h>
+#include <projectexplorer/taskhub.h>
#include <projectexplorer/toolchain.h>
#include <qtsupport/qtkitinformation.h>
@@ -212,12 +213,12 @@ bool AndroidDeployQtStep::init()
auto selectedAbis = buildSystem()->extraData(buildKey, Constants::ANDROID_ABIS).toStringList();
if (!selectedAbis.contains(info.cpuAbi.first())) {
- Core::MessageManager::write(
+ TaskHub::addTask(DeploymentTask(
+ Task::Warning,
tr("Android: The main ABI of the deployment device (%1) is not selected! The app "
"execution or debugging might not work properly. Add it from Projects > Build > "
"Build Steps > qmake > ABIs.")
- .arg(info.cpuAbi.first()),
- Core::MessageManager::WithFocus);
+ .arg(info.cpuAbi.first())));
}
m_avdName = info.avdname;