From 4fffdabc948ff6afc6008d4cb723a6a2e10eef79 Mon Sep 17 00:00:00 2001 From: Andy Shaw Date: Thu, 10 Nov 2011 11:36:04 +0100 Subject: Compile fix for Mac OS X 10.7 with 10.6 sdk Since it is an example it is cleaner to just include the header file as it will be available on other platforms anyway. Also ensured that the Qt includes were first before the system ones. Task-number: QTBUG-22641 Merge-request: 1462 Reviewed-by: Oswald Buddenhagen --- examples/opengl/cube/mainwidget.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/opengl/cube/mainwidget.cpp b/examples/opengl/cube/mainwidget.cpp index 1116526..482c78e 100644 --- a/examples/opengl/cube/mainwidget.cpp +++ b/examples/opengl/cube/mainwidget.cpp @@ -46,10 +46,10 @@ #include #include +#include #include - -#include +#include MainWidget::MainWidget(QWidget *parent) : QGLWidget(parent), -- cgit v0.12