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:
parent
6d6bfcb9ad
commit
150917a4ad
@ -427,6 +427,7 @@ QPlatformOpenGLContext *QQnxIntegration::createPlatformOpenGLContext(QOpenGLCont
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if QT_CONFIG(qqnx_pps)
|
||||||
QPlatformInputContext *QQnxIntegration::inputContext() const
|
QPlatformInputContext *QQnxIntegration::inputContext() const
|
||||||
{
|
{
|
||||||
qIntegrationDebug();
|
qIntegrationDebug();
|
||||||
@ -434,6 +435,7 @@ QPlatformInputContext *QQnxIntegration::inputContext() const
|
|||||||
return m_qpaInputContext;
|
return m_qpaInputContext;
|
||||||
return m_inputContext;
|
return m_inputContext;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
void QQnxIntegration::moveToScreen(QWindow *window, int screen)
|
void QQnxIntegration::moveToScreen(QWindow *window, int screen)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user