summaryrefslogtreecommitdiffstats
path: root/src/opengl/qgl_p.h
diff options
context:
space:
mode:
authorJørgen Lind <jorgen.lind@nokia.com>2010-06-11 09:54:24 (GMT)
committerJørgen Lind <jorgen.lind@nokia.com>2010-06-11 11:23:50 (GMT)
commit7497ae0504a4186103c835c3c0cfca5133f2d50e (patch)
tree5b7828d2afab72354030030bc09fb1fd1e0fd347 /src/opengl/qgl_p.h
parenta498db43a02972e90df5f1cdd73e90260471f5f8 (diff)
downloadQt-7497ae0504a4186103c835c3c0cfca5133f2d50e.zip
Qt-7497ae0504a4186103c835c3c0cfca5133f2d50e.tar.gz
Qt-7497ae0504a4186103c835c3c0cfca5133f2d50e.tar.bz2
Added QPlatformGLContext to QPlatformWindow
and removed the the creator function. Child QGLWidgets don't work
Diffstat (limited to 'src/opengl/qgl_p.h')
-rw-r--r--src/opengl/qgl_p.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/opengl/qgl_p.h b/src/opengl/qgl_p.h
index 37466d8..042d5ae 100644
--- a/src/opengl/qgl_p.h
+++ b/src/opengl/qgl_p.h
@@ -69,7 +69,7 @@
#endif
#if defined(Q_WS_LITE)
-#include <qglplatformintegration_lite.h>
+#include <QtGui/QPlatformGLContext>
#endif
QT_BEGIN_NAMESPACE
@@ -165,7 +165,7 @@ class QGLWidgetPrivate : public QWidgetPrivate
public:
QGLWidgetPrivate() : QWidgetPrivate()
, disable_clear_on_painter_begin(false)
-#if defined(Q_WS_QWS) || defined(Q_WS_LITE)
+#if defined(Q_WS_QWS)
, wsurf(0)
#endif
#if defined(Q_WS_X11) && !defined(QT_NO_EGL)
@@ -207,8 +207,6 @@ public:
void updatePaintDevice();
#elif defined(Q_WS_QWS)
QWSGLWindowSurface *wsurf;
-#elif defined (Q_WS_LITE)
- QPlatformGLWidgetSurface* wsurf;
#endif
};