QNX: fix build error without PPS feature

Use matching ifdef's as is done for the declaration.

src/plugins/platforms/qnx/qqnxintegration.cpp:430:24: error: no declaration matches 'QPlatformInputContext* QQnxIntegration::inputContext() const'
 QPlatformInputContext *QQnxIntegration::inputContext() const
                        ^~~~~~~~~~~~~~~

Change-Id: I7afddba514833279fe560c1807da0cb060aead29
Reviewed-by: James McDonnell <jmcdonnell@blackberry.com>
This commit is contained in:
Samuli Piippo 2020-05-25 15:54:26 +03:00
parent 6d6bfcb9ad
commit 150917a4ad

View File

@ -427,6 +427,7 @@ QPlatformOpenGLContext *QQnxIntegration::createPlatformOpenGLContext(QOpenGLCont
}
#endif
#if QT_CONFIG(qqnx_pps)
QPlatformInputContext *QQnxIntegration::inputContext() const
{
qIntegrationDebug();
@ -434,6 +435,7 @@ QPlatformInputContext *QQnxIntegration::inputContext() const
return m_qpaInputContext;
return m_inputContext;
}
#endif
void QQnxIntegration::moveToScreen(QWindow *window, int screen)
{