Define unix platform interfaces also without opengl
Fix build without opengl. Change-Id: I691fd4112d69b16690915fcf33f5ae30ca2d7a93 Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>bb10
parent
54182e47c3
commit
c8db3115a2
|
|
@ -83,6 +83,8 @@ QOpenGLContext *QPlatformInterface::QEGLContext::fromNative(EGLContext context,
|
|||
}
|
||||
#endif
|
||||
|
||||
#endif // QT_NO_OPENGL
|
||||
|
||||
#if QT_CONFIG(xcb)
|
||||
QT_DEFINE_PRIVATE_PLATFORM_INTERFACE(QXcbScreen);
|
||||
QT_DEFINE_PRIVATE_PLATFORM_INTERFACE(QXcbWindow);
|
||||
|
|
@ -102,6 +104,4 @@ QEvdevKeyMapper *QKeyMapper::platformInterface<QEvdevKeyMapper>() const
|
|||
}
|
||||
#endif
|
||||
|
||||
#endif // QT_NO_OPENGL
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
|
|
|||
Loading…
Reference in New Issue