summaryrefslogtreecommitdiff
path: root/qt5-layer/recipes-qt/examples/cinematicexperience_1.0.bbappend
diff options
context:
space:
mode:
authorStefan Eichenberger <stefan.eichenberger@toradex.com>2022-11-16 17:42:02 +0100
committerMax Krummenacher <max.krummenacher@toradex.com>2022-12-07 15:34:48 +0100
commit8a9ea279fa5e96327794ad943ebd96be31cca433 (patch)
tree7bd3e8438836272f9d3c8308bb80a509021a152f /qt5-layer/recipes-qt/examples/cinematicexperience_1.0.bbappend
parent82dee484f26613efb03daa8fed9ebb18814039bc (diff)
qt5: examples: cinematicexperience: Fix a crash with no screen
When there is no screen attached the Qt application fails to start. The message when the application crashes is: xdg_wm_base@17: error 4: xdg_surface geometry (500 x 500) is larger than the configured fullscreen state (0 x 0) The Wayland connection experienced a fatal error: Protocol error This leads to a kernel messages each time the application tries to start. With BSP5 the application just tries to restart every time the applications exits but doesn't spam the kernel log. The reason why this changed is this new feature: https://code.qt.io/cgit/qt/qtwayland.git/commit/?h=5.15&id=d58008c4310f99d0faebcfb2fd9aa9296b813ecf The change of this commit fixes the application so that it properly works with no screen attached and doesn't crash at all. Related-to: ELB-4884 Signed-off-by: Stefan Eichenberger <stefan.eichenberger@toradex.com> (cherry picked from commit 2ca50c7c93e69cd02028ec5a204b84632d996703) Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Diffstat (limited to 'qt5-layer/recipes-qt/examples/cinematicexperience_1.0.bbappend')
-rw-r--r--qt5-layer/recipes-qt/examples/cinematicexperience_1.0.bbappend3
1 files changed, 3 insertions, 0 deletions
diff --git a/qt5-layer/recipes-qt/examples/cinematicexperience_1.0.bbappend b/qt5-layer/recipes-qt/examples/cinematicexperience_1.0.bbappend
new file mode 100644
index 0000000..e4d42f4
--- /dev/null
+++ b/qt5-layer/recipes-qt/examples/cinematicexperience_1.0.bbappend
@@ -0,0 +1,3 @@
+FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
+
+SRC_URI:append = " file://fix-fullscreen-mode.patch"