Enable native Wayland support
This commit is contained in:
parent
99278254e3
commit
53589d63fb
2 changed files with 21 additions and 1 deletions
20
external/qt/CMakeLists.txt
vendored
20
external/qt/CMakeLists.txt
vendored
|
|
@ -163,14 +163,28 @@ else()
|
||||||
set(qt_libs
|
set(qt_libs
|
||||||
plugins/platforminputcontexts/${qt_lib_prefix}composeplatforminputcontextplugin
|
plugins/platforminputcontexts/${qt_lib_prefix}composeplatforminputcontextplugin
|
||||||
${qt_libs_dbus_plugins}
|
${qt_libs_dbus_plugins}
|
||||||
|
plugins/wayland-decoration-client/${qt_lib_prefix}bradient
|
||||||
|
plugins/wayland-shell-integration/${qt_lib_prefix}ivi-shell
|
||||||
|
plugins/wayland-shell-integration/${qt_lib_prefix}wl-shell
|
||||||
|
plugins/wayland-shell-integration/${qt_lib_prefix}xdg-shell-v5
|
||||||
|
plugins/wayland-shell-integration/${qt_lib_prefix}xdg-shell-v6
|
||||||
|
plugins/wayland-shell-integration/${qt_lib_prefix}xdg-shell
|
||||||
|
plugins/wayland-graphics-integration-client/${qt_lib_prefix}qt-plugin-wayland-egl
|
||||||
|
plugins/wayland-graphics-integration-client/${qt_lib_prefix}drm-egl-server
|
||||||
|
plugins/wayland-graphics-integration-client/${qt_lib_prefix}dmabuf-server
|
||||||
|
plugins/wayland-graphics-integration-client/${qt_lib_prefix}shm-emulation-server
|
||||||
|
plugins/platforms/${qt_lib_prefix}qwayland-egl
|
||||||
|
plugins/platforms/${qt_lib_prefix}qwayland-generic
|
||||||
plugins/platforms/${qt_lib_prefix}qxcb
|
plugins/platforms/${qt_lib_prefix}qxcb
|
||||||
plugins/iconengines/${qt_lib_prefix}qsvgicon
|
plugins/iconengines/${qt_lib_prefix}qsvgicon
|
||||||
lib/${qt_lib_prefix}Qt5XcbQpa
|
lib/${qt_lib_prefix}Qt5XcbQpa
|
||||||
|
lib/${qt_lib_prefix}Qt5EglSupport
|
||||||
lib/${qt_lib_prefix}Qt5ServiceSupport
|
lib/${qt_lib_prefix}Qt5ServiceSupport
|
||||||
lib/${qt_lib_prefix}Qt5EdidSupport
|
lib/${qt_lib_prefix}Qt5EdidSupport
|
||||||
${qt_libs_dbus_support}
|
${qt_libs_dbus_support}
|
||||||
plugins/bearer/${qt_lib_prefix}qgenericbearer
|
plugins/bearer/${qt_lib_prefix}qgenericbearer
|
||||||
${qt_libs_dbus_bearers}
|
${qt_libs_dbus_bearers}
|
||||||
|
lib/${qt_lib_prefix}Qt5WaylandClient
|
||||||
${common_qt_libs}
|
${common_qt_libs}
|
||||||
${qt_libs_dbus}
|
${qt_libs_dbus}
|
||||||
lib/${qt_lib_prefix}Qt5Svg
|
lib/${qt_lib_prefix}Qt5Svg
|
||||||
|
|
@ -221,12 +235,16 @@ else()
|
||||||
endif()
|
endif()
|
||||||
target_link_static_libraries(external_qt
|
target_link_static_libraries(external_qt
|
||||||
INTERFACE
|
INTERFACE
|
||||||
|
wayland-egl
|
||||||
|
wayland-cursor
|
||||||
|
wayland-client
|
||||||
xcb-shm
|
xcb-shm
|
||||||
xcb-xfixes
|
xcb-xfixes
|
||||||
xcb-render
|
xcb-render
|
||||||
xkbcommon
|
xkbcommon
|
||||||
xkbcommon-x11
|
xkbcommon-x11
|
||||||
Xrender
|
Xrender
|
||||||
|
ffi
|
||||||
icutu
|
icutu
|
||||||
icui18n
|
icui18n
|
||||||
icuuc
|
icuuc
|
||||||
|
|
@ -245,6 +263,8 @@ else()
|
||||||
SM
|
SM
|
||||||
fontconfig
|
fontconfig
|
||||||
freetype
|
freetype
|
||||||
|
EGL
|
||||||
|
GL
|
||||||
xcb
|
xcb
|
||||||
X11
|
X11
|
||||||
X11-xcb
|
X11-xcb
|
||||||
|
|
|
||||||
2
external/qt/package.cmake
vendored
2
external/qt/package.cmake
vendored
|
|
@ -24,7 +24,7 @@ find_package(Qt5 COMPONENTS Core Gui Widgets Network REQUIRED)
|
||||||
|
|
||||||
if (LINUX)
|
if (LINUX)
|
||||||
if (NOT DESKTOP_APP_USE_PACKAGED)
|
if (NOT DESKTOP_APP_USE_PACKAGED)
|
||||||
find_package(Qt5 COMPONENTS Svg REQUIRED)
|
find_package(Qt5 COMPONENTS WaylandClient Svg REQUIRED)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if (DESKTOP_APP_DISABLE_DBUS_INTEGRATION)
|
if (DESKTOP_APP_DISABLE_DBUS_INTEGRATION)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue