summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/qnx/qqnxintegration.h
diff options
context:
space:
mode:
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;