diff options
Diffstat (limited to 'tests/auto/qgeoserviceprovider/tst_qgeoserviceprovider.cpp')
-rw-r--r-- | tests/auto/qgeoserviceprovider/tst_qgeoserviceprovider.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/qgeoserviceprovider/tst_qgeoserviceprovider.cpp b/tests/auto/qgeoserviceprovider/tst_qgeoserviceprovider.cpp index 121253fa..7303e431 100644 --- a/tests/auto/qgeoserviceprovider/tst_qgeoserviceprovider.cpp +++ b/tests/auto/qgeoserviceprovider/tst_qgeoserviceprovider.cpp @@ -48,6 +48,7 @@ private slots: void tst_QGeoServiceProvider::initTestCase() { +#if QT_CONFIG(library) /* * Set custom path since CI doesn't install test plugins */ @@ -58,6 +59,7 @@ void tst_QGeoServiceProvider::initTestCase() QCoreApplication::addLibraryPath(QCoreApplication::applicationDirPath() + QStringLiteral("/../../../plugins")); #endif +#endif } void tst_QGeoServiceProvider::tst_availableServiceProvider() |