aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/auto/qml/qqmlmoduleplugin/tst_qqmlmoduleplugin.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/auto/qml/qqmlmoduleplugin/tst_qqmlmoduleplugin.cpp b/tests/auto/qml/qqmlmoduleplugin/tst_qqmlmoduleplugin.cpp
index 35e71612be..399e6b8b85 100644
--- a/tests/auto/qml/qqmlmoduleplugin/tst_qqmlmoduleplugin.cpp
+++ b/tests/auto/qml/qqmlmoduleplugin/tst_qqmlmoduleplugin.cpp
@@ -336,6 +336,9 @@ void tst_qqmlmoduleplugin::importPluginWithQmlFile()
void tst_qqmlmoduleplugin::remoteImportWithQuotedUrl()
{
+#if !QT_CONFIG(qml_network)
+ QSKIP("QML networking not enabled, skipping test");
+#else
ThreadedTestHTTPServer server(m_dataImportsDirectory);
QQmlEngine engine;
@@ -352,6 +355,7 @@ void tst_qqmlmoduleplugin::remoteImportWithQuotedUrl()
for (const QQmlError &err : errors)
qWarning() << err;
VERIFY_ERRORS(0);
+#endif
}
void tst_qqmlmoduleplugin::remoteImportWithUnquotedUri()