summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Poulain <benjamin.poulain@nokia.com>2010-09-21 10:47:00 (GMT)
committerBenjamin Poulain <benjamin.poulain@nokia.com>2010-09-21 12:54:43 (GMT)
commitf1f986dfe40f82fca1a8a27f5f02e1a9f7818fd0 (patch)
tree5abc68f0ab40ae94ea08a4b7222f3e62103ba0f3
parent9035b78ef8b8ebfdd7d43fc0b9c3071253eb0d56 (diff)
downloadQt-f1f986dfe40f82fca1a8a27f5f02e1a9f7818fd0.zip
Qt-f1f986dfe40f82fca1a8a27f5f02e1a9f7818fd0.tar.gz
Qt-f1f986dfe40f82fca1a8a27f5f02e1a9f7818fd0.tar.bz2
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 f1a74f5..ee20bd8 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 */