From 96afaf41ca30fc77f92b0ad01e65c767a944354a Mon Sep 17 00:00:00 2001 From: Elvis Lee Date: Tue, 25 May 2021 17:57:24 +0900 Subject: Support hardware composition for webOS MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit In similar way with vsp2, the interfaces are needed to support qtwayland hardware layer for webOS. https://doc.qt.io/qt-5/qml-qtwayland-compositor-waylandhardwarelayer.html Change-Id: I14481373d696b501a774b9258da789554065a6ea Reviewed-by: Tor Arne Vestbø Reviewed-by: Elvis Lee Reviewed-by: Eskil Abrahamsen Blomfeldt --- src/gui/platform/unix/qunixnativeinterface.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/gui/platform/unix/qunixnativeinterface.cpp') diff --git a/src/gui/platform/unix/qunixnativeinterface.cpp b/src/gui/platform/unix/qunixnativeinterface.cpp index 9fde98f76aa..4febe69d91e 100644 --- a/src/gui/platform/unix/qunixnativeinterface.cpp +++ b/src/gui/platform/unix/qunixnativeinterface.cpp @@ -185,6 +185,10 @@ QT_DEFINE_PRIVATE_NATIVE_INTERFACE(QXcbWindow); QT_DEFINE_PRIVATE_NATIVE_INTERFACE(QVsp2Screen); #endif +#ifdef Q_OS_WEBOS +QT_DEFINE_PRIVATE_NATIVE_INTERFACE(QWebOSScreen); +#endif + #if QT_CONFIG(evdev) /*! -- cgit v1.2.3