summaryrefslogtreecommitdiffstats
path: root/src/opengl
diff options
context:
space:
mode:
authorMorten Sorvig <morten.sorvig@nokia.com>2011-05-18 12:09:17 +0200
committerMorten Sorvig <morten.sorvig@nokia.com>2011-05-18 12:09:17 +0200
commit864815ef2efbc3b5dca2a645c1b63f9bb67285d0 (patch)
treeae2c208919d2f0ff5c9fadadce009170bee46ad5 /src/opengl
parent516f4e283ba4626d7239630397ef867ab0366071 (diff)
Port Qt 5 to Mac.
Diffstat (limited to 'src/opengl')
-rw-r--r--src/opengl/qgl.h2
-rw-r--r--src/opengl/qglpaintdevice_p.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/opengl/qgl.h b/src/opengl/qgl.h
index 30a8a32cfe..15782dd319 100644
--- a/src/opengl/qgl.h
+++ b/src/opengl/qgl.h
@@ -58,7 +58,7 @@ QT_BEGIN_HEADER
# include <QtCore/qt_windows.h>
#endif
-#if defined(Q_WS_MAC)
+#if defined(Q_OS_MAC)
# include <OpenGL/gl.h>
#elif defined(QT_OPENGL_ES_1)
# if defined(Q_OS_MAC)
diff --git a/src/opengl/qglpaintdevice_p.h b/src/opengl/qglpaintdevice_p.h
index 241e3091c6..45992f2114 100644
--- a/src/opengl/qglpaintdevice_p.h
+++ b/src/opengl/qglpaintdevice_p.h
@@ -55,7 +55,7 @@
#include <qpaintdevice.h>
-#include <qgl.h>
+#include <QtOpenGL/qgl.h>
QT_BEGIN_NAMESPACE