diff options
-rw-r--r-- | recipes-qt/qt6/qtwayland/0001-Workaround-to-add-support-for-weston.patch | 31 | ||||
-rw-r--r-- | recipes-qt/qt6/qtwayland_%.bbappend | 5 |
2 files changed, 36 insertions, 0 deletions
diff --git a/recipes-qt/qt6/qtwayland/0001-Workaround-to-add-support-for-weston.patch b/recipes-qt/qt6/qtwayland/0001-Workaround-to-add-support-for-weston.patch new file mode 100644 index 0000000..d476857 --- /dev/null +++ b/recipes-qt/qt6/qtwayland/0001-Workaround-to-add-support-for-weston.patch @@ -0,0 +1,31 @@ +From 2226df403cb36199888beea421e7200678a3ec26 Mon Sep 17 00:00:00 2001 +From: Ari Parkkila <[email protected]> +Date: Thu, 20 Mar 2025 08:21:48 +0200 +Subject: [PATCH] Workaround to add support for weston + +Qt wayland is incompatible with weston's wayland so disable +problematic functionality temporarily. + +Upstream-Status: Inappropriate [https://bugreports.qt.io/browse/QTBUG-134955] +Task-number: QTBUG-127698 +--- + src/plugins/shellintegration/xdg-shell/qwaylandxdgshell.cpp | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/src/plugins/shellintegration/xdg-shell/qwaylandxdgshell.cpp b/src/plugins/shellintegration/xdg-shell/qwaylandxdgshell.cpp +index 29489acd..b8b84bae 100644 +--- a/src/plugins/shellintegration/xdg-shell/qwaylandxdgshell.cpp ++++ b/src/plugins/shellintegration/xdg-shell/qwaylandxdgshell.cpp +@@ -464,7 +464,8 @@ void QWaylandXdgSurface::setSizeHints() + maxHeight = 0; + + m_toplevel->set_min_size(minWidth, minHeight); +- m_toplevel->set_max_size(maxWidth, maxHeight); ++ // outcomment because of wayland protocol error: [email protected] ++ //m_toplevel->set_max_size(maxWidth, maxHeight); + } + } + +-- +2.34.1 + diff --git a/recipes-qt/qt6/qtwayland_%.bbappend b/recipes-qt/qt6/qtwayland_%.bbappend new file mode 100644 index 0000000..44ffd12 --- /dev/null +++ b/recipes-qt/qt6/qtwayland_%.bbappend @@ -0,0 +1,5 @@ +FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" + +SRC_URI += "\ + file://0001-Workaround-to-add-support-for-weston.patch \ +" |