aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/qqmlbundle_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/qml/qml/qqmlbundle_p.h')
-rw-r--r--src/qml/qml/qqmlbundle_p.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/qml/qml/qqmlbundle_p.h b/src/qml/qml/qqmlbundle_p.h
index 029acf1f1b..f09447c011 100644
--- a/src/qml/qml/qqmlbundle_p.h
+++ b/src/qml/qml/qqmlbundle_p.h
@@ -46,6 +46,11 @@
#include <QtCore/qstring.h>
#include <QtQml/qtqmlglobal.h>
+#ifdef Q_CC_MSVC
+// nonstandard extension used : zero-sized array in struct/union.
+# pragma warning( disable : 4200 )
+#endif
+
QT_BEGIN_NAMESPACE
class Q_QML_EXPORT QQmlBundle