summaryrefslogtreecommitdiffstats
path: root/Source/WTF/wtf/Platform.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WTF/wtf/Platform.h')
-rw-r--r--Source/WTF/wtf/Platform.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/WTF/wtf/Platform.h b/Source/WTF/wtf/Platform.h
index f3d725217..0666ac710 100644
--- a/Source/WTF/wtf/Platform.h
+++ b/Source/WTF/wtf/Platform.h
@@ -1052,6 +1052,9 @@
#if PLATFORM(QT)
#ifdef __cplusplus
#include <qglobal.h>
+#if QT_VERSION >= QT_VERSION_CHECK(5,8,0)
+#include <QtGui/qtguiglobal.h>
+#endif
#endif
#if defined(QT_OPENGL_ES_2) && !defined(USE_OPENGL_ES_2)
#define USE_OPENGL_ES_2 1