diff options
author | Paolo Angelelli <paolo.angelelli@qt.io> | 2018-03-21 17:10:48 +0100 |
---|---|---|
committer | Paolo Angelelli <paolo.angelelli@qt.io> | 2018-03-23 08:43:20 +0000 |
commit | 8b628532736d31c1324cb0c345fd82019a5ce2b8 (patch) | |
tree | 7ec82e482402bf8c7bffca0d2a7eec2e080b1d87 /tests/auto/qgeoareamonitor | |
parent | fe16faf08d5e411504ab16ab9d2726cfae4bc03e (diff) | |
download | qtlocation-8b628532736d31c1324cb0c345fd82019a5ce2b8.tar.gz |
Declare/Register metatype for QGeoPositionInfo
Instead of doing it all over the place, declare it in
qgeopositioninfo.h and register it in
QGeoPositionInfoSource() as well as in positioning.cpp
Task-number: QTBUG-65937
Change-Id: I819af3393921bdc9ca46832d5b4181d41546dac0
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
Diffstat (limited to 'tests/auto/qgeoareamonitor')
-rw-r--r-- | tests/auto/qgeoareamonitor/tst_qgeoareamonitor.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/auto/qgeoareamonitor/tst_qgeoareamonitor.cpp b/tests/auto/qgeoareamonitor/tst_qgeoareamonitor.cpp index 4cd83446..bad3be42 100644 --- a/tests/auto/qgeoareamonitor/tst_qgeoareamonitor.cpp +++ b/tests/auto/qgeoareamonitor/tst_qgeoareamonitor.cpp @@ -52,7 +52,6 @@ QT_USE_NAMESPACE #define UPDATE_INTERVAL 200 -Q_DECLARE_METATYPE(QGeoPositionInfo) Q_DECLARE_METATYPE(QGeoAreaMonitorInfo) QString tst_qgeoareamonitorinfo_debug; @@ -89,7 +88,6 @@ private slots: + QStringLiteral("/../../../plugins")); #endif #endif - qRegisterMetaType<QGeoPositionInfo>(); qRegisterMetaType<QGeoAreaMonitorInfo>(); } |