Force uninstall of any Qt apps that are using Qt < 5.4

On Qt 5.4 the problem was fixed by
https://codereview.qt-project.org/#/c/91261/

Change-Id: Id139fe2fe1e83ac5108ffeeb140cb8d2f16747c7
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
This commit is contained in:
BogDan Vatra
2014-09-16 14:25:34 +03:00
parent 41942ac088
commit 8bb83b514f
3 changed files with 14 additions and 4 deletions

View File

@@ -69,6 +69,12 @@ class AndroidDeployQtStep : public ProjectExplorer::AbstractProcessStep
{
Q_OBJECT
friend class AndroidDeployQtStepFactory;
public:
enum UninstallType {
Keep,
Uninstall,
ForceUnintall
};
public:
AndroidDeployQtStep(ProjectExplorer::BuildStepList *bc);
@@ -77,7 +83,7 @@ public:
bool runInGuiThread() const;
bool uninstallPreviousPackage();
UninstallType uninstallPreviousPackage();
public slots:
void setUninstallPreviousPackage(bool uninstall);