forked from qt-creator/qt-creator
AndroidDeployQtStep: Make it cancelable
And use QFutureInterface for it. Change-Id: I1145b70b119d92af7316977c813f4f29b1f20b74 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io> Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -4,8 +4,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "androidbuildapkstep.h"
|
||||
#include "androidconfigurations.h"
|
||||
#include "androiddeviceinfo.h"
|
||||
|
||||
#include <projectexplorer/abstractprocessstep.h>
|
||||
#include <qtsupport/baseqtversion.h>
|
||||
@@ -49,11 +48,12 @@ private:
|
||||
|
||||
bool init() override;
|
||||
void doRun() override;
|
||||
void doCancel() override;
|
||||
void gatherFilesToPull();
|
||||
DeployErrorCode runDeploy();
|
||||
void slotAskForUninstall(DeployErrorCode errorCode);
|
||||
|
||||
bool runImpl();
|
||||
void runImpl(QFutureInterface<bool> &fi);
|
||||
|
||||
QWidget *createConfigWidget() override;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user