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
|
||||
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
|
||||
|
|
|
|||
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 (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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue