summaryrefslogtreecommitdiff
path: root/tests/auto/qplacemanager_unsupported/tst_qplacemanager_unsupported.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qplacemanager_unsupported/tst_qplacemanager_unsupported.cpp')
-rw-r--r--tests/auto/qplacemanager_unsupported/tst_qplacemanager_unsupported.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/qplacemanager_unsupported/tst_qplacemanager_unsupported.cpp b/tests/auto/qplacemanager_unsupported/tst_qplacemanager_unsupported.cpp
index 41716103..98a9dd31 100644
--- a/tests/auto/qplacemanager_unsupported/tst_qplacemanager_unsupported.cpp
+++ b/tests/auto/qplacemanager_unsupported/tst_qplacemanager_unsupported.cpp
@@ -75,6 +75,7 @@ private:
void tst_QPlaceManagerUnsupported::initTestCase()
{
+#if QT_CONFIG(library)
/*
* Set custom path since CI doesn't install test plugins
*/
@@ -85,6 +86,7 @@ void tst_QPlaceManagerUnsupported::initTestCase()
QCoreApplication::addLibraryPath(QCoreApplication::applicationDirPath()
+ QStringLiteral("/../../../plugins"));
#endif
+#endif
m_provider = 0;
m_manager = 0;