summaryrefslogtreecommitdiff
path: root/tests/auto/qgeoroutingmanager/tst_qgeoroutingmanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qgeoroutingmanager/tst_qgeoroutingmanager.cpp')
-rw-r--r--tests/auto/qgeoroutingmanager/tst_qgeoroutingmanager.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/qgeoroutingmanager/tst_qgeoroutingmanager.cpp b/tests/auto/qgeoroutingmanager/tst_qgeoroutingmanager.cpp
index 4dbeea55..dc519b48 100644
--- a/tests/auto/qgeoroutingmanager/tst_qgeoroutingmanager.cpp
+++ b/tests/auto/qgeoroutingmanager/tst_qgeoroutingmanager.cpp
@@ -35,6 +35,7 @@ QT_USE_NAMESPACE
void tst_QGeoRoutingManager::initTestCase()
{
+#if QT_CONFIG(library)
/*
* Set custom path since CI doesn't install test plugins
*/
@@ -45,6 +46,7 @@ void tst_QGeoRoutingManager::initTestCase()
QCoreApplication::addLibraryPath(QCoreApplication::applicationDirPath()
+ QStringLiteral("/../../../plugins"));
#endif
+#endif
tst_QGeoRoutingManager::loadRoutingManager();
}