diff options
Diffstat (limited to 'tests/auto/qgeoserviceprovider/tst_qgeoserviceprovider.cpp')
-rw-r--r-- | tests/auto/qgeoserviceprovider/tst_qgeoserviceprovider.cpp | 5 |
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() |