summaryrefslogtreecommitdiff
path: root/tests/auto/qgeotiledmap/tst_qgeotiledmap.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qgeotiledmap/tst_qgeotiledmap.cpp')
-rw-r--r--tests/auto/qgeotiledmap/tst_qgeotiledmap.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/qgeotiledmap/tst_qgeotiledmap.cpp b/tests/auto/qgeotiledmap/tst_qgeotiledmap.cpp
index 22fb6589..ae0083ba 100644
--- a/tests/auto/qgeotiledmap/tst_qgeotiledmap.cpp
+++ b/tests/auto/qgeotiledmap/tst_qgeotiledmap.cpp
@@ -92,6 +92,7 @@ tst_QGeoTiledMap::~tst_QGeoTiledMap()
void tst_QGeoTiledMap::initTestCase()
{
+#if QT_CONFIG(library)
// Set custom path since CI doesn't install test plugins
#ifdef Q_OS_WIN
QCoreApplication::addLibraryPath(QCoreApplication::applicationDirPath() +
@@ -100,6 +101,7 @@ void tst_QGeoTiledMap::initTestCase()
QCoreApplication::addLibraryPath(QCoreApplication::applicationDirPath() +
QStringLiteral("/../../../plugins"));
#endif
+#endif
QVariantMap parameters;
parameters["tileSize"] = 256;
parameters["maxZoomLevel"] = 8;