summaryrefslogtreecommitdiff
path: root/sync.profile
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@qt.io>2021-06-18 17:07:44 +0200
committerJoerg Bornemann <joerg.bornemann@qt.io>2021-07-05 15:30:02 +0200
commita2259cac9bdb3feb5b2312a928125a1ddd40af6d (patch)
tree4d4537a8222981c78845f6f59b837f016675d30f /sync.profile
parent809176b8bccb4e0644f484a44189749ee87e2e3e (diff)
downloadqtwayland-a2259cac9bdb3feb5b2312a928125a1ddd40af6d.tar.gz
Restructure configure features
Create a new module WaylandGlobalPrivate that is merely a collection of build features that are shared by client, compositor and plugins of qtwayland. Move the features wayland-client and wayland-server to WaylandGlobalPrivate to be able to access both features in src/CMakeLists.txt. This removes the need for explicitly including the configure.cmake files of client and compositor, which fixes QTBUG-88261. Move the features that are defined in both, client and compositor, to WaylandGlobalPrivate. The module is defined in src/CMakeLists.txt to ensure that the targets created by the qt_find_package calls in src/configure.cmake are accessible in subdirectories below src/. We need the (nearly) empty src/global directory to satisfy syncqt. We cannot pass NO_SYNC_QT to qt_internal_add_module, because that prevents the creation of qtwaylandglobal-config_p.h. Fixes: QTBUG-88261 Fixes: QTBUG-91705 Change-Id: I776632a86ffe96886dc12f1f675f9ab56a2faf2a Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
Diffstat (limited to 'sync.profile')
-rw-r--r--sync.profile1
1 files changed, 1 insertions, 0 deletions
diff --git a/sync.profile b/sync.profile
index 1a88e443..67026fa7 100644
--- a/sync.profile
+++ b/sync.profile
@@ -1,4 +1,5 @@
%modules = ( # path to module name map
+ "QtWaylandGlobal" => "$basedir/src/global",
"QtWaylandCompositor" => "$basedir/src/compositor",
"QtWaylandClient" => "$basedir/src/client",
"QtWaylandEglClientHwIntegration" => "$basedir/src/hardwareintegration/client/wayland-egl",