summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Poulain <benjamin.poulain@nokia.com>2010-09-21 12:47:00 +0200
committerBenjamin Poulain <benjamin.poulain@nokia.com>2010-09-21 14:54:43 +0200
commitf1f986dfe40f82fca1a8a27f5f02e1a9f7818fd0 (patch)
tree5abc68f0ab40ae94ea08a4b7222f3e62103ba0f3
parent9035b78ef8b8ebfdd7d43fc0b9c3071253eb0d56 (diff)
downloadqt4-tools-f1f986dfe40f82fca1a8a27f5f02e1a9f7818fd0.tar.gz
Qt headers must be included before X11 headers
X11 symbols are conflicting with some of the Qt ones. Qt headers needs to be included before the X11 ones in order to compile on Maemo. Reviewed-by: Samuel Rødal
-rw-r--r--src/plugins/graphicssystems/meego/qmeegoextensions.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/graphicssystems/meego/qmeegoextensions.h b/src/plugins/graphicssystems/meego/qmeegoextensions.h
index f1a74f5459..ee20bd8e43 100644
--- a/src/plugins/graphicssystems/meego/qmeegoextensions.h
+++ b/src/plugins/graphicssystems/meego/qmeegoextensions.h
@@ -42,12 +42,12 @@
#ifndef MEXTENSIONS_H
#define MEXTENSIONS_H
-#include <EGL/egl.h>
-#include <GLES2/gl2.h>
-#include <GLES2/gl2ext.h>
#include <private/qgl_p.h>
#include <private/qeglcontext_p.h>
#include <private/qpixmapdata_gl_p.h>
+#include <EGL/egl.h>
+#include <GLES2/gl2.h>
+#include <GLES2/gl2ext.h>
/* Extensions decls */