summaryrefslogtreecommitdiff
path: root/tests/auto/qgeoserviceprovider/tst_qgeoserviceprovider.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qgeoserviceprovider/tst_qgeoserviceprovider.cpp')
-rw-r--r--tests/auto/qgeoserviceprovider/tst_qgeoserviceprovider.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/qgeoserviceprovider/tst_qgeoserviceprovider.cpp b/tests/auto/qgeoserviceprovider/tst_qgeoserviceprovider.cpp
index 6a9457fe..6efa2f92 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()