summaryrefslogtreecommitdiffstats
path: root/tests/auto/widgets/graphicsview
diff options
context:
space:
mode:
authorTomasz Kozlowski <tomasz.kozlowski@qt.io>2023-11-06 11:13:37 +0100
committerTomasz Kozłowski <tomasz.kozlowski@qt.io>2023-12-22 15:25:20 +0000
commit061a2012ad70159ddb28a28344f67637bc965f18 (patch)
treeb8fc79dccaf7d286bb4d0982f1e210386796b31d /tests/auto/widgets/graphicsview
parentd8cd56df6b3bde89a59cd25db359a0bbea9449d2 (diff)
Skip test which resizes window in graphic scene while using EGLFS
This test is resizing top window, which is not supported in EGLFS, so this test needs to be turned off. Pick-to: 6.7 Task-number: QTBUG-115777 Change-Id: Idb81802399fe5bd9af3f342692d2212cd06ead9c Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
Diffstat (limited to 'tests/auto/widgets/graphicsview')
-rw-r--r--tests/auto/widgets/graphicsview/qgraphicsscene/tst_qgraphicsscene.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/auto/widgets/graphicsview/qgraphicsscene/tst_qgraphicsscene.cpp b/tests/auto/widgets/graphicsview/qgraphicsscene/tst_qgraphicsscene.cpp
index f42670e4bd..314166114d 100644
--- a/tests/auto/widgets/graphicsview/qgraphicsscene/tst_qgraphicsscene.cpp
+++ b/tests/auto/widgets/graphicsview/qgraphicsscene/tst_qgraphicsscene.cpp
@@ -2680,6 +2680,9 @@ void tst_QGraphicsScene::renderItemsWithNegativeWidthOrHeight()
#ifdef Q_OS_ANDROID
QSKIP("Test only works on platforms with resizable windows");
#endif
+ if (QGuiApplication::platformName().startsWith(QLatin1String("eglfs"), Qt::CaseInsensitive))
+ QSKIP("EGLFS does not allow resizing on top window");
+
QGraphicsScene scene(0, 0, m_testSize.width(), m_testSize.height());
// Add item with negative width.