summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/qnx/qqnxintegration.h
diff options
context:
space:
mode:
authorStephen Kelly <stephen.kelly.qnx@kdab.com>2012-04-18 15:07:23 +0200
committerQt by Nokia <qt-info@nokia.com>2012-04-23 17:04:04 +0200
commitd21f8c157a0726b6f365866d023bab9525f93f4d (patch)
treef1a1bed12d52fe6d7e132e6d018b516938be9e4e /src/plugins/platforms/qnx/qqnxintegration.h
parent61c433785eb918d81b927f17bcad4687f2269afe (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/qqnxintegration.h')
-rw-r--r--src/plugins/platforms/qnx/qqnxintegration.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/plugins/platforms/qnx/qqnxintegration.h b/src/plugins/platforms/qnx/qqnxintegration.h
index 3207b9ce9d..b46c40680e 100644
--- a/src/plugins/platforms/qnx/qqnxintegration.h
+++ b/src/plugins/platforms/qnx/qqnxintegration.h
@@ -81,7 +81,10 @@ public:
QPlatformWindow *createPlatformWindow(QWindow *window) const;
QPlatformBackingStore *createPlatformBackingStore(QWindow *window) const;
+
+#ifndef QT_NO_OPENGL
QPlatformOpenGLContext *createPlatformOpenGLContext(QOpenGLContext *context) const;
+#endif
#ifdef Q_OS_BLACKBERRY
QPlatformInputContext *inputContext() const;
@@ -101,7 +104,9 @@ public:
QVariant styleHint(StyleHint hint) const;
+#ifndef QT_NO_OPENGL
bool paintUsingOpenGL() const { return m_paintUsingOpenGL; }
+#endif
#ifdef Q_OS_BLACKBERRY
QPlatformServices *services() const;
@@ -127,7 +132,9 @@ private:
QQnxServices *m_services;
#endif
QPlatformFontDatabase *m_fontDatabase;
+#ifndef QT_NO_OPENGL
bool m_paintUsingOpenGL;
+#endif
QAbstractEventDispatcher *m_eventDispatcher;
QQnxNativeInterface *m_nativeInterface;
QList<QQnxScreen*> m_screens;