summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAlexey Edelev <alexey.edelev@qt.io>2022-07-13 17:57:43 +0200
committerAlexey Edelev <alexey.edelev@qt.io>2022-10-12 11:41:59 +0200
commitd25f5edfab10e41e0bd3421367d77a3b4c77985b (patch)
tree335e4bac190ef2b5df0474e82a2d90bd0370b85c /src
parent67ad8f75dda36bc7221cf5b6f375b349cb520453 (diff)
Add private header filters to the qt_interal_add_module calls
This is required to filter the generated wayland files when syncing headers. Task-number: QTBUG-103196 Change-Id: I86d440bf8b56802dff2fa75ba621c37a8daa8bbf Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Diffstat (limited to 'src')
-rw-r--r--src/client/CMakeLists.txt2
-rw-r--r--src/compositor/CMakeLists.txt2
-rw-r--r--src/imports/texture-sharing/CMakeLists.txt2
-rw-r--r--src/plugins/shellintegration/wl-shell/CMakeLists.txt2
4 files changed, 8 insertions, 0 deletions
diff --git a/src/client/CMakeLists.txt b/src/client/CMakeLists.txt
index d38befdbc..820c9eada 100644
--- a/src/client/CMakeLists.txt
+++ b/src/client/CMakeLists.txt
@@ -74,6 +74,8 @@ qt_internal_add_module(WaylandClient
Qt::CorePrivate
Qt::GuiPrivate
Qt::WaylandGlobalPrivate
+ PRIVATE_HEADER_FILTERS
+ "^qwayland-.*\.h|^wayland-.*-protocol\.h"
)
qt6_generate_wayland_protocol_client_sources(WaylandClient
diff --git a/src/compositor/CMakeLists.txt b/src/compositor/CMakeLists.txt
index dc0f15423..593d6194c 100644
--- a/src/compositor/CMakeLists.txt
+++ b/src/compositor/CMakeLists.txt
@@ -73,6 +73,8 @@ qt_internal_add_module(WaylandCompositor
Qt::CorePrivate
Qt::GuiPrivate
Qt::WaylandGlobalPrivate
+ PRIVATE_HEADER_FILTERS
+ "^qwayland-.*\.h|^wayland-.*-protocol\.h"
)
set(compositor_no_pch_sources
diff --git a/src/imports/texture-sharing/CMakeLists.txt b/src/imports/texture-sharing/CMakeLists.txt
index e9843171c..5023dc419 100644
--- a/src/imports/texture-sharing/CMakeLists.txt
+++ b/src/imports/texture-sharing/CMakeLists.txt
@@ -30,6 +30,8 @@ qt_internal_add_qml_module(WaylandTextureSharing
Qt::QuickPrivate
Qt::WaylandClient
Qt::WaylandClientPrivate
+ PRIVATE_HEADER_FILTERS
+ "^qwayland-.*\.h|^wayland-.*-protocol\.h"
)
qt6_generate_wayland_protocol_client_sources(WaylandTextureSharing
diff --git a/src/plugins/shellintegration/wl-shell/CMakeLists.txt b/src/plugins/shellintegration/wl-shell/CMakeLists.txt
index 5bb4144b5..142bd21aa 100644
--- a/src/plugins/shellintegration/wl-shell/CMakeLists.txt
+++ b/src/plugins/shellintegration/wl-shell/CMakeLists.txt
@@ -17,6 +17,8 @@ qt_internal_add_module(WlShellIntegrationPrivate
Qt::GuiPrivate
Qt::WaylandClientPrivate
Wayland::Client
+ PRIVATE_HEADER_FILTERS
+ "^qwayland-.*\.h|^wayland-.*-protocol\.h"
)
qt6_generate_wayland_protocol_client_sources(WlShellIntegrationPrivate