forked from qt-creator/qt-creator
Android: Show output of android create avd
The output is shown in the general message pane. Which is rather suboptimal since both ways to create avds are via a modal dialog, thus the output is not even accessible easily. So far no one has reported issues with failed avd creation. In case someone does, we now have the output of the command. Task-number: QTCREATORBUG-10601 Change-Id: I41c68d48fd317cd0e892a5ab3f5e2a5fa4bcbae9 Reviewed-by: BogDan Vatra <bogdan@kde.org>
This commit is contained in:
@@ -37,6 +37,7 @@
|
||||
#include "androiddevicedialog.h"
|
||||
|
||||
#include <coreplugin/icore.h>
|
||||
#include <coreplugin/messagemanager.h>
|
||||
#include <utils/hostosinfo.h>
|
||||
#include <utils/persistentsettings.h>
|
||||
#include <projectexplorer/kitmanager.h>
|
||||
@@ -565,6 +566,8 @@ QString AndroidConfigurations::createAVD(const QString &target, const QString &n
|
||||
break;
|
||||
}
|
||||
|
||||
Core::MessageManager::write(QString::fromLocal8Bit(question), Core::MessageManager::Flash);
|
||||
|
||||
proc.waitForFinished();
|
||||
|
||||
if (proc.exitCode()) // error!
|
||||
|
||||
Reference in New Issue
Block a user