forked from qt-creator/qt-creator
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user