From 54b1aaed0381c0d6dce14caad2a3223620e7cc7a Mon Sep 17 00:00:00 2001 From: Assam Boudjelthia Date: Tue, 11 Aug 2020 17:53:44 +0300 Subject: [PATCH] Android: warn about wrong ABI in issues pane instead of general messages Change-Id: I7b11b0b91f2843ee3d95d86b9afc772295dd6e94 Reviewed-by: Eike Ziller --- src/plugins/android/androiddeployqtstep.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/plugins/android/androiddeployqtstep.cpp b/src/plugins/android/androiddeployqtstep.cpp index 96be06a6962..27cd6daf0c6 100644 --- a/src/plugins/android/androiddeployqtstep.cpp +++ b/src/plugins/android/androiddeployqtstep.cpp @@ -45,6 +45,7 @@ #include #include #include +#include #include #include @@ -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;