forked from qt-creator/qt-creator
ios: qml debug support
Change-Id: I0fdd7a35de7b446cd991407d7c30b92cd3cc7787 Reviewed-by: Fawzi Mohamed <fawzi.mohamed@digia.com>
This commit is contained in:
@@ -49,7 +49,7 @@ class IosRunner : public QObject
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
IosRunner(QObject *parent, IosRunConfiguration *m_runConfig, bool m_debuggingMode);
|
||||
IosRunner(QObject *parent, IosRunConfiguration *runConfig, bool cppDebug, bool qmlDebug);
|
||||
~IosRunner();
|
||||
|
||||
QString displayName() const;
|
||||
@@ -58,22 +58,24 @@ public:
|
||||
QStringList extraArgs();
|
||||
QString deviceId();
|
||||
IosToolHandler::RunKind runType();
|
||||
bool cppDebug() const;
|
||||
bool qmlDebug() const;
|
||||
public slots:
|
||||
void start();
|
||||
void stop();
|
||||
|
||||
signals:
|
||||
void didStartApp(Ios::IosToolHandler::OpStatus status);
|
||||
void gotGdbserverPort(int gdbPort);
|
||||
void gotInferiorPid(Q_PID pid);
|
||||
void gotServerPorts(int gdbPort, int qmlPort);
|
||||
void gotInferiorPid(Q_PID pid, int);
|
||||
void appOutput(const QString &output);
|
||||
void errorMsg(const QString &msg);
|
||||
void finished(bool cleanExit);
|
||||
private slots:
|
||||
void handleDidStartApp(Ios::IosToolHandler *handler, const QString &bundlePath,
|
||||
const QString &deviceId, Ios::IosToolHandler::OpStatus status);
|
||||
void handleGotGdbserverPort(Ios::IosToolHandler *handler, const QString &bundlePath,
|
||||
const QString &deviceId, int gdbPort);
|
||||
void handleGotServerPorts(Ios::IosToolHandler *handler, const QString &bundlePath,
|
||||
const QString &deviceId, int gdbPort, int qmlPort);
|
||||
void handleGotInferiorPid(Ios::IosToolHandler *handler, const QString &bundlePath,
|
||||
const QString &deviceId, Q_PID pid);
|
||||
void handleAppOutput(Ios::IosToolHandler *handler, const QString &output);
|
||||
@@ -85,8 +87,10 @@ private:
|
||||
QString m_bundleDir;
|
||||
QStringList m_arguments;
|
||||
ProjectExplorer::IDevice::ConstPtr m_device;
|
||||
bool m_debuggingMode;
|
||||
bool m_cppDebug;
|
||||
bool m_qmlDebug;
|
||||
bool m_cleanExit;
|
||||
quint16 m_qmlPort;
|
||||
Q_PID m_pid;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user