diff --git a/src/plugins/platforms/wayland/CMakeLists.txt b/src/plugins/platforms/wayland/CMakeLists.txt index b90ec57c402..eca51287740 100644 --- a/src/plugins/platforms/wayland/CMakeLists.txt +++ b/src/plugins/platforms/wayland/CMakeLists.txt @@ -94,6 +94,7 @@ qt_internal_add_module(WaylandClient ) qt6_generate_wayland_protocol_client_sources(WaylandClient + PRIVATE_CODE FILES ${CMAKE_CURRENT_SOURCE_DIR}/../3rdparty/protocol/cursor-shape/cursor-shape-v1.xml ${CMAKE_CURRENT_SOURCE_DIR}/../3rdparty/protocol/pointer-gestures/pointer-gestures-unstable-v1.xml diff --git a/src/plugins/platforms/wayland/plugins/hardwareintegration/brcm-egl/CMakeLists.txt b/src/plugins/platforms/wayland/plugins/hardwareintegration/brcm-egl/CMakeLists.txt index 6a376ddad3f..f706632c0a6 100644 --- a/src/plugins/platforms/wayland/plugins/hardwareintegration/brcm-egl/CMakeLists.txt +++ b/src/plugins/platforms/wayland/plugins/hardwareintegration/brcm-egl/CMakeLists.txt @@ -28,6 +28,7 @@ qt_internal_add_plugin(QWaylandBrcmEglClientBufferPlugin ) qt6_generate_wayland_protocol_client_sources(QWaylandBrcmEglClientBufferPlugin + PRIVATE_CODE FILES ${CMAKE_CURRENT_SOURCE_DIR}/../../../../hardwareintegration/client/brcm-egl/../../../extensions/brcm.xml ) diff --git a/src/plugins/platforms/wayland/plugins/hardwareintegration/dmabuf-server/CMakeLists.txt b/src/plugins/platforms/wayland/plugins/hardwareintegration/dmabuf-server/CMakeLists.txt index bc6c29ecfbd..7329aebc323 100644 --- a/src/plugins/platforms/wayland/plugins/hardwareintegration/dmabuf-server/CMakeLists.txt +++ b/src/plugins/platforms/wayland/plugins/hardwareintegration/dmabuf-server/CMakeLists.txt @@ -26,8 +26,10 @@ qt_internal_add_plugin(DmaBufServerBufferPlugin ) qt6_generate_wayland_protocol_client_sources(DmaBufServerBufferPlugin + PRIVATE_CODE FILES - ${CMAKE_CURRENT_SOURCE_DIR}/../../../../hardwareintegration/client/dmabuf-server/../../../extensions/qt-dmabuf-server-buffer.xml + ${CMAKE_CURRENT_SOURCE_DIR}/../../../../extensions/qt-dmabuf-server-buffer.xml + ${CMAKE_CURRENT_SOURCE_DIR}/../../../../extensions/server-buffer-extension.xml ) #### Keys ignored in scope 1:.:.:dmabuf-server.pro:: diff --git a/src/plugins/platforms/wayland/plugins/hardwareintegration/drm-egl-server/CMakeLists.txt b/src/plugins/platforms/wayland/plugins/hardwareintegration/drm-egl-server/CMakeLists.txt index 1b40b7fc041..535b1024f0f 100644 --- a/src/plugins/platforms/wayland/plugins/hardwareintegration/drm-egl-server/CMakeLists.txt +++ b/src/plugins/platforms/wayland/plugins/hardwareintegration/drm-egl-server/CMakeLists.txt @@ -26,8 +26,10 @@ qt_internal_add_plugin(DrmEglServerBufferPlugin ) qt6_generate_wayland_protocol_client_sources(DrmEglServerBufferPlugin + PRIVATE_CODE FILES - ${CMAKE_CURRENT_SOURCE_DIR}/../../../../hardwareintegration/client/drm-egl-server/../../../extensions/drm-egl-server-buffer.xml + ${CMAKE_CURRENT_SOURCE_DIR}/../../../../extensions/drm-egl-server-buffer.xml + ${CMAKE_CURRENT_SOURCE_DIR}/../../../../extensions/server-buffer-extension.xml ) #### Keys ignored in scope 1:.:.:drm-egl-server.pro:: diff --git a/src/plugins/platforms/wayland/plugins/hardwareintegration/libhybris-egl-server/CMakeLists.txt b/src/plugins/platforms/wayland/plugins/hardwareintegration/libhybris-egl-server/CMakeLists.txt index 5167cef490b..6b7cd897e19 100644 --- a/src/plugins/platforms/wayland/plugins/hardwareintegration/libhybris-egl-server/CMakeLists.txt +++ b/src/plugins/platforms/wayland/plugins/hardwareintegration/libhybris-egl-server/CMakeLists.txt @@ -25,6 +25,7 @@ qt_internal_add_plugin(LibHybrisEglServerBufferPlugin ) qt6_generate_wayland_protocol_client_sources(LibHybrisEglServerBufferPlugin + PRIVATE_CODE FILES ${CMAKE_CURRENT_SOURCE_DIR}/../../../../hardwareintegration/client/libhybris-egl-server/../../../extensions/libhybris-egl-server-buffer.xml ) diff --git a/src/plugins/platforms/wayland/plugins/hardwareintegration/shm-emulation-server/CMakeLists.txt b/src/plugins/platforms/wayland/plugins/hardwareintegration/shm-emulation-server/CMakeLists.txt index 351f7bc8191..b979086d2c7 100644 --- a/src/plugins/platforms/wayland/plugins/hardwareintegration/shm-emulation-server/CMakeLists.txt +++ b/src/plugins/platforms/wayland/plugins/hardwareintegration/shm-emulation-server/CMakeLists.txt @@ -25,8 +25,10 @@ qt_internal_add_plugin(ShmServerBufferPlugin ) qt6_generate_wayland_protocol_client_sources(ShmServerBufferPlugin + PRIVATE_CODE FILES - ${CMAKE_CURRENT_SOURCE_DIR}/../../../../hardwareintegration/client/shm-emulation-server/../../../extensions/shm-emulation-server-buffer.xml + ${CMAKE_CURRENT_SOURCE_DIR}/../../../../extensions/server-buffer-extension.xml + ${CMAKE_CURRENT_SOURCE_DIR}/../../../../extensions/shm-emulation-server-buffer.xml ) #### Keys ignored in scope 1:.:.:shm-emulation-server.pro:: diff --git a/src/plugins/platforms/wayland/plugins/hardwareintegration/vulkan-server/CMakeLists.txt b/src/plugins/platforms/wayland/plugins/hardwareintegration/vulkan-server/CMakeLists.txt index 72f527210b7..f0aeabf291a 100644 --- a/src/plugins/platforms/wayland/plugins/hardwareintegration/vulkan-server/CMakeLists.txt +++ b/src/plugins/platforms/wayland/plugins/hardwareintegration/vulkan-server/CMakeLists.txt @@ -25,8 +25,11 @@ qt_internal_add_plugin(VulkanServerBufferPlugin ) qt6_generate_wayland_protocol_client_sources(VulkanServerBufferPlugin + PRIVATE_CODE FILES - ${CMAKE_CURRENT_SOURCE_DIR}/../../../../hardwareintegration/client/vulkan-server/../../../extensions/qt-vulkan-server-buffer-unstable-v1.xml + ${CMAKE_CURRENT_SOURCE_DIR}/../../../../extensions/qt-vulkan-server-buffer-unstable-v1.xml + ${CMAKE_CURRENT_SOURCE_DIR}/../../../../extensions/server-buffer-extension.xml + ) #### Keys ignored in scope 1:.:.:vulkan-server.pro:: diff --git a/src/plugins/platforms/wayland/plugins/shellintegration/fullscreen-shell-v1/CMakeLists.txt b/src/plugins/platforms/wayland/plugins/shellintegration/fullscreen-shell-v1/CMakeLists.txt index 693dbde5fe7..9f16e82d9f7 100644 --- a/src/plugins/platforms/wayland/plugins/shellintegration/fullscreen-shell-v1/CMakeLists.txt +++ b/src/plugins/platforms/wayland/plugins/shellintegration/fullscreen-shell-v1/CMakeLists.txt @@ -26,6 +26,7 @@ qt_internal_add_plugin(QWaylandFullScreenShellV1IntegrationPlugin ) qt6_generate_wayland_protocol_client_sources(QWaylandFullScreenShellV1IntegrationPlugin + PRIVATE_CODE FILES ${CMAKE_CURRENT_SOURCE_DIR}/../../../3rdparty/protocol/fullscreen-shell/fullscreen-shell-unstable-v1.xml ) diff --git a/src/plugins/platforms/wayland/plugins/shellintegration/wl-shell/CMakeLists.txt b/src/plugins/platforms/wayland/plugins/shellintegration/wl-shell/CMakeLists.txt index b2871c92b14..6ed139295a2 100644 --- a/src/plugins/platforms/wayland/plugins/shellintegration/wl-shell/CMakeLists.txt +++ b/src/plugins/platforms/wayland/plugins/shellintegration/wl-shell/CMakeLists.txt @@ -28,6 +28,7 @@ qt_internal_add_module(WlShellIntegrationPrivate qt6_generate_wayland_protocol_client_sources(WlShellIntegrationPrivate # this is just a helper module and still part of the QtWaylandClient build __QT_INTERNAL_WAYLAND_INCLUDE_DIR QtWaylandClient/private + PRIVATE_CODE FILES ${CMAKE_CURRENT_SOURCE_DIR}/../../../3rdparty/protocol/wayland/wayland.xml ) diff --git a/src/plugins/platforms/wayland/plugins/shellintegration/xdg-shell/CMakeLists.txt b/src/plugins/platforms/wayland/plugins/shellintegration/xdg-shell/CMakeLists.txt index 74e925f73cc..529ea1f6b22 100644 --- a/src/plugins/platforms/wayland/plugins/shellintegration/xdg-shell/CMakeLists.txt +++ b/src/plugins/platforms/wayland/plugins/shellintegration/xdg-shell/CMakeLists.txt @@ -34,6 +34,7 @@ qt_internal_add_plugin(QWaylandXdgShellIntegrationPlugin ) qt6_generate_wayland_protocol_client_sources(QWaylandXdgShellIntegrationPlugin + PRIVATE_CODE FILES ${CMAKE_CURRENT_SOURCE_DIR}/../../../3rdparty/protocol/xdg-decoration/xdg-decoration-unstable-v1.xml ${CMAKE_CURRENT_SOURCE_DIR}/../../../3rdparty/protocol/xdg-shell/xdg-shell.xml diff --git a/tests/auto/wayland/clientextension/CMakeLists.txt b/tests/auto/wayland/clientextension/CMakeLists.txt index 4997b7d7732..063f3f4740b 100644 --- a/tests/auto/wayland/clientextension/CMakeLists.txt +++ b/tests/auto/wayland/clientextension/CMakeLists.txt @@ -9,9 +9,11 @@ qt_internal_add_test(tst_clientextension ) qt6_generate_wayland_protocol_client_sources(tst_clientextension + PRIVATE_CODE FILES ${CMAKE_CURRENT_SOURCE_DIR}/test.xml ) qt6_generate_wayland_protocol_server_sources(tst_clientextension + PRIVATE_CODE FILES ${CMAKE_CURRENT_SOURCE_DIR}/test.xml )