diff options
-rw-r--r-- | src/plugins/android/androidconfigurations.h | 1 | ||||
-rw-r--r-- | src/plugins/android/androidrunner.cpp | 3 | ||||
-rw-r--r-- | src/plugins/android/androidrunner.h | 2 |
3 files changed, 4 insertions, 2 deletions
diff --git a/src/plugins/android/androidconfigurations.h b/src/plugins/android/androidconfigurations.h index 15d27413bd..58dde7479b 100644 --- a/src/plugins/android/androidconfigurations.h +++ b/src/plugins/android/androidconfigurations.h @@ -232,3 +232,4 @@ private: } // namespace Android +Q_DECLARE_METATYPE(Android::AndroidDeviceInfo) diff --git a/src/plugins/android/androidrunner.cpp b/src/plugins/android/androidrunner.cpp index b42c2df70c..4ea111aeb3 100644 --- a/src/plugins/android/androidrunner.cpp +++ b/src/plugins/android/androidrunner.cpp @@ -120,7 +120,8 @@ AndroidRunner::AndroidRunner(RunControl *runControl, setDisplayName("AndroidRunner"); static const int metaTypes[] = { qRegisterMetaType<QVector<QStringList> >("QVector<QStringList>"), - qRegisterMetaType<Utils::Port>("Utils::Port") + qRegisterMetaType<Utils::Port>("Utils::Port"), + qRegisterMetaType<AndroidDeviceInfo>("Android::AndroidDeviceInfo") }; Q_UNUSED(metaTypes); diff --git a/src/plugins/android/androidrunner.h b/src/plugins/android/androidrunner.h index 3196df551a..c1cd170c68 100644 --- a/src/plugins/android/androidrunner.h +++ b/src/plugins/android/androidrunner.h @@ -66,7 +66,7 @@ signals: void asyncStart(); void asyncStop(); void qmlServerReady(const QUrl &serverUrl); - void androidDeviceInfoChanged(const AndroidDeviceInfo &deviceInfo); + void androidDeviceInfoChanged(const Android::AndroidDeviceInfo &deviceInfo); void avdDetected(); private: |