diff options
author | Stephen Kelly <stephen.kelly.qnx@kdab.com> | 2012-04-18 15:07:23 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-04-23 17:04:04 +0200 |
commit | d21f8c157a0726b6f365866d023bab9525f93f4d (patch) | |
tree | f1a1bed12d52fe6d7e132e6d018b516938be9e4e /src/plugins/platforms/qnx/qqnxwindow.h | |
parent | 61c433785eb918d81b927f17bcad4687f2269afe (diff) |
Build the QNX plugin with -no-opengl enabled.
Change-Id: I776a3eb0d7ada4399b8c191bbfa1e3ed9236b20e
Reviewed-by: Andreas Holzammer <andreas.holzammer@kdab.com>
Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
Diffstat (limited to 'src/plugins/platforms/qnx/qqnxwindow.h')
-rw-r--r-- | src/plugins/platforms/qnx/qqnxwindow.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/plugins/platforms/qnx/qqnxwindow.h b/src/plugins/platforms/qnx/qqnxwindow.h index fc27c128b6..2ea7bbca51 100644 --- a/src/plugins/platforms/qnx/qqnxwindow.h +++ b/src/plugins/platforms/qnx/qqnxwindow.h @@ -48,7 +48,9 @@ #include <QtGui/QImage> +#ifndef QT_NO_OPENGL #include <EGL/egl.h> +#endif #include <screen/screen.h> @@ -57,7 +59,9 @@ QT_BEGIN_NAMESPACE // all surfaces double buffered #define MAX_BUFFER_COUNT 2 +#ifndef QT_NO_OPENGL class QQnxGLContext; +#endif class QQnxScreen; class QSurfaceFormat; @@ -98,8 +102,10 @@ public: QQnxScreen *screen() const { return m_screen; } const QList<QQnxWindow*>& children() const { return m_childWindows; } +#ifndef QT_NO_OPENGL void setPlatformOpenGLContext(QQnxGLContext *platformOpenGLContext); QQnxGLContext *platformOpenGLContext() const { return m_platformOpenGLContext; } +#endif QQnxWindow *findWindow(screen_window_t windowHandle); @@ -124,7 +130,9 @@ private: QRegion m_previousDirty; QRegion m_scrolled; +#ifndef QT_NO_OPENGL QQnxGLContext *m_platformOpenGLContext; +#endif QQnxScreen *m_screen; QList<QQnxWindow*> m_childWindows; QQnxWindow *m_parentWindow; |