Permalink
Browse files

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 <oswald.buddenhagen@nokia.com>
  • Loading branch information...
Andy Shaw authored and ossilator committed Nov 10, 2011
1 parent 6c24cde commit 4fffdabc948ff6afc6008d4cb723a6a2e10eef79
Showing with 2 additions and 2 deletions.
  1. +2 −2 examples/opengl/cube/mainwidget.cpp
@@ -46,10 +46,10 @@
#include <QBasicTimer>
#include <QMouseEvent>
+#include <QDebug>
#include <math.h>
-
-#include <QDebug>
+#include <locale.h>
MainWidget::MainWidget(QWidget *parent) :
QGLWidget(parent),

0 comments on commit 4fffdab

Please sign in to comment.