1
0
Fork 0

Enable native Wayland support

This commit is contained in:
Ilya Fedin 2020-02-11 19:09:19 +04:00 committed by John Preston
parent 99278254e3
commit 53589d63fb
2 changed files with 21 additions and 1 deletions

View file

@ -163,14 +163,28 @@ else()
set(qt_libs
plugins/platforminputcontexts/${qt_lib_prefix}composeplatforminputcontextplugin
${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/iconengines/${qt_lib_prefix}qsvgicon
lib/${qt_lib_prefix}Qt5XcbQpa
lib/${qt_lib_prefix}Qt5EglSupport
lib/${qt_lib_prefix}Qt5ServiceSupport
lib/${qt_lib_prefix}Qt5EdidSupport
${qt_libs_dbus_support}
plugins/bearer/${qt_lib_prefix}qgenericbearer
${qt_libs_dbus_bearers}
lib/${qt_lib_prefix}Qt5WaylandClient
${common_qt_libs}
${qt_libs_dbus}
lib/${qt_lib_prefix}Qt5Svg
@ -221,12 +235,16 @@ else()
endif()
target_link_static_libraries(external_qt
INTERFACE
wayland-egl
wayland-cursor
wayland-client
xcb-shm
xcb-xfixes
xcb-render
xkbcommon
xkbcommon-x11
Xrender
ffi
icutu
icui18n
icuuc
@ -245,6 +263,8 @@ else()
SM
fontconfig
freetype
EGL
GL
xcb
X11
X11-xcb

View file

@ -24,7 +24,7 @@ find_package(Qt5 COMPONENTS Core Gui Widgets Network REQUIRED)
if (LINUX)
if (NOT DESKTOP_APP_USE_PACKAGED)
find_package(Qt5 COMPONENTS Svg REQUIRED)
find_package(Qt5 COMPONENTS WaylandClient Svg REQUIRED)
endif()
if (DESKTOP_APP_DISABLE_DBUS_INTEGRATION)