summaryrefslogtreecommitdiffstats
path: root/src/window-lib
diff options
context:
space:
mode:
authorAlexey Edelev <alexey.edelev@qt.io>2022-12-02 16:33:08 +0100
committerAlexey Edelev <alexey.edelev@qt.io>2022-12-08 15:35:37 +0100
commit4b415fbfa6dd1090a12c00b1c8c2c9a9412b2c32 (patch)
treed99d2932cbf74153464669ddde4d23bdd919d806 /src/window-lib
parent7367762dc45a5276f3b2b772f894245c8d8fed10 (diff)
Adjust module to work with syncqt.cpp
Add interface dependencies to fix top-level builds. Add PRIVATE_HEADER_FILTERS for the generated wayland code. Task-number: QTBUG-87480 Change-Id: I6f35777786bf4356cd8cd2c31709601a08407912 Reviewed-by: Robert Griebl <robert.griebl@qt.io>
Diffstat (limited to 'src/window-lib')
-rw-r--r--src/window-lib/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/window-lib/CMakeLists.txt b/src/window-lib/CMakeLists.txt
index ab60bf26..2bf391f2 100644
--- a/src/window-lib/CMakeLists.txt
+++ b/src/window-lib/CMakeLists.txt
@@ -26,6 +26,8 @@ qt_internal_add_module(AppManWindowPrivate
Qt::Quick
DEFINES
AM_COMPILING_APPMAN
+ PRIVATE_HEADER_FILTERS
+ "^qwayland-.*\.h|^wayland-.*-protocol\.h"
)
if(QT_FEATURE_am_multi_process)
@@ -45,4 +47,6 @@ if(QT_FEATURE_am_multi_process)
PUBLIC_LIBRARIES
Qt::WaylandCompositor
)
+
+ qt_internal_add_autogen_sync_header_dependencies(AppManWindowPrivate WaylandCompositor)
endif()