aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qtqmlglobal.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/qml/qtqmlglobal.h')
-rw-r--r--src/qml/qtqmlglobal.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/qml/qtqmlglobal.h b/src/qml/qtqmlglobal.h
index 8529e1f980..89228b7777 100644
--- a/src/qml/qtqmlglobal.h
+++ b/src/qml/qtqmlglobal.h
@@ -42,7 +42,9 @@
#include <QtCore/qglobal.h>
#include <QtQml/qtqml-config.h>
+#if QT_CONFIG(qml_network)
#include <QtNetwork/qtnetworkglobal.h>
+#endif
QT_BEGIN_NAMESPACE