aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorŁukasz Matysiak <lukasz.matysiak@siili.com>2024-04-22 16:04:28 +0200
committerŁukasz Matysiak <lukasz.matysiak@qt.io>2024-05-06 22:31:45 +0200
commit4545e5c9737920dfcc35b563fc11561e3bdc3880 (patch)
tree62624e77bf23f1e979d76c2d23352cf69566a3d9 /tests
parentc7496c4589983b81da7a585a41be70559b97cbf2 (diff)
Skip tst_QQuickApplicationWindow::attachedProperties on EGLFS
The tst_QQuickApplicationWindow::attachedProperties test uses multiple windows. When on EGLFS, creating multiple windows ends up in a QFATAL error message stating EGLFS: OpenGL windows cannot be mixed with others. Fix the problem by skipping the test when on EGLFS. Task-number: QTBUG-115777 Pick-to: 6.7 Change-Id: I5cf189715af7e64a27980fab238a9dcee20700f1 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/quickcontrols/qquickapplicationwindow/tst_qquickapplicationwindow.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/auto/quickcontrols/qquickapplicationwindow/tst_qquickapplicationwindow.cpp b/tests/auto/quickcontrols/qquickapplicationwindow/tst_qquickapplicationwindow.cpp
index ff0b4418d2..1d25ffeed6 100644
--- a/tests/auto/quickcontrols/qquickapplicationwindow/tst_qquickapplicationwindow.cpp
+++ b/tests/auto/quickcontrols/qquickapplicationwindow/tst_qquickapplicationwindow.cpp
@@ -278,6 +278,10 @@ void tst_QQuickApplicationWindow::implicitFill()
void tst_QQuickApplicationWindow::attachedProperties()
{
+ if (QGuiApplication::platformName().startsWith(QLatin1String("eglfs"), Qt::CaseInsensitive))
+ {
+ QSKIP("This test uses multiple windows and it crashes on EGLFS because of that");
+ }
QQmlEngine engine;
QQmlComponent component(&engine);
component.loadUrl(testFileUrl("attachedProperties.qml"));