iOS: Fix run without deploy on iOS simulator

Task-number: QTCREATORBUG-18107
Change-Id: Ie847cdab672ff2df7af0c2fee742901de0783861
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
Vikas Pachdha
2017-04-28 08:27:10 +02:00
parent f2e296f7c7
commit a4a78ae8b1
3 changed files with 43 additions and 7 deletions

View File

@@ -27,7 +27,7 @@
#include <QObject>
#include <QFuture>
#include "utils/fileutils.h"
#include <QDebug>
#include <memory>
QT_BEGIN_NAMESPACE
@@ -50,10 +50,14 @@ public:
}
};
class SimulatorInfo : public SimulatorEntity {
class SimulatorInfo : public SimulatorEntity
{
friend QDebug &operator<<(QDebug &, const SimulatorInfo &info);
public:
bool isBooted() const { return state.compare(QStringLiteral("Booted")) == 0; }
bool isShutdown() const { return state.compare(QStringLiteral("Shutdown")) == 0; }
bool isShuttingDown() const { return state == "Shutting Down"; }
bool available;
QString state;
QString runtimeName;