Android: Add QML debugging support

Change-Id: I2fb2c75001569385e417ea44ae90d34e92a22449
Reviewed-by: BogDan Vatra <bog_dan_ro@yahoo.com>
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
This commit is contained in:
Tyler Mandry
2012-06-24 19:32:45 -07:00
committed by Tobias Hunger
parent 70ce95b44f
commit fcd01af143
5 changed files with 89 additions and 43 deletions

View File

@@ -52,8 +52,7 @@ class AndroidRunner : public QThread
Q_OBJECT
public:
AndroidRunner(QObject *parent, AndroidRunConfiguration *runConfig,
bool debugging);
AndroidRunner(QObject *parent, AndroidRunConfiguration *runConfig, bool debuggingMode);
~AndroidRunner();
QString displayName() const;
@@ -82,7 +81,6 @@ private:
void adbKill(qint64 pid, const QString &device, int timeout = 2000, const QString &runAsPackageName = QString());
private:
bool m_debugingMode;
QProcess m_adbLogcatProcess;
QByteArray m_logcat;
QString m_intentName;
@@ -91,7 +89,10 @@ private:
qint64 m_processPID;
qint64 m_gdbserverPID;
QTimer m_checkPIDTimer;
QString m_remoteChannel;
bool m_useCppDebugger;
bool m_useQmlDebugger;
QString m_remoteGdbChannel;
uint m_qmlPort;
bool m_useLocalQtLibs;
QString m_localLibs;
QString m_localJars;