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.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/auto/qgeoserviceprovider/tst_qgeoserviceprovider.cpp b/tests/auto/qgeoserviceprovider/tst_qgeoserviceprovider.cpp
index ea9e3d2b..ec6ed698 100644
--- a/tests/auto/qgeoserviceprovider/tst_qgeoserviceprovider.cpp
+++ b/tests/auto/qgeoserviceprovider/tst_qgeoserviceprovider.cpp
@@ -56,8 +56,13 @@ void tst_QGeoServiceProvider::initTestCase()
/*
* Set custom path since CI doesn't install test plugins
*/
+#ifdef Q_OS_WIN
+ QCoreApplication::addLibraryPath(QCoreApplication::applicationDirPath() +
+ QStringLiteral("/../../../../plugins"));
+#else
QCoreApplication::addLibraryPath(QCoreApplication::applicationDirPath()
+ QStringLiteral("/../../../plugins"));
+#endif
}
void tst_QGeoServiceProvider::tst_availableServiceProvider()