diff options
author | Ivan Solovev <ivan.solovev@qt.io> | 2021-10-27 17:55:30 +0200 |
---|---|---|
committer | Ivan Solovev <ivan.solovev@qt.io> | 2021-11-09 10:28:16 +0100 |
commit | 052a247133fe98a5941a570134b48a7b97853092 (patch) | |
tree | 063be8259a3c6056d91438765602ca8432baaa4e /tests/auto/placesplugin_unsupported | |
parent | e7bc51e4c5c07389c1d028e7a42c238688ca43ee (diff) | |
download | qtlocation-052a247133fe98a5941a570134b48a7b97853092.tar.gz |
Build minimal subset of QtLocation with unit-tests
Build src/location/maps and src/location/places with a minimum subset
of required src/location/declarativemaps files.
Also build all plugins except mapbox-gl.
Enable all non-QML unit-tests.
Task-number: QTBUG-97769
Change-Id: I7c70584376c688efd2e1d046186732a7399e12d9
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
Diffstat (limited to 'tests/auto/placesplugin_unsupported')
-rw-r--r-- | tests/auto/placesplugin_unsupported/CMakeLists.txt | 12 | ||||
-rw-r--r-- | tests/auto/placesplugin_unsupported/qgeoserviceproviderplugin_test.h | 2 |
2 files changed, 13 insertions, 1 deletions
diff --git a/tests/auto/placesplugin_unsupported/CMakeLists.txt b/tests/auto/placesplugin_unsupported/CMakeLists.txt new file mode 100644 index 00000000..08401d01 --- /dev/null +++ b/tests/auto/placesplugin_unsupported/CMakeLists.txt @@ -0,0 +1,12 @@ +qt_internal_add_plugin(UnsupportedPlacesGeoServicePlugin + OUTPUT_NAME qtgeoservices_placesplugin_unsupported + CLASS_NAME QGeoServiceProviderFactoryTest + PLUGIN_TYPE geoservices + DEFAULT_IF FALSE + SOURCES + qgeoserviceproviderplugin_test.h + qgeoserviceproviderplugin_test.cpp + LIBRARIES + Qt::Core + Qt::Location +) diff --git a/tests/auto/placesplugin_unsupported/qgeoserviceproviderplugin_test.h b/tests/auto/placesplugin_unsupported/qgeoserviceproviderplugin_test.h index 11c30d26..49a3816c 100644 --- a/tests/auto/placesplugin_unsupported/qgeoserviceproviderplugin_test.h +++ b/tests/auto/placesplugin_unsupported/qgeoserviceproviderplugin_test.h @@ -46,7 +46,7 @@ public: QPlaceManagerEngine *createPlaceManagerEngine(const QVariantMap ¶meters, QGeoServiceProvider::Error *error, - QString *errorString) const; + QString *errorString) const override; }; #endif |