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. Task-number: QTBUG-115777 Change-Id: Idb81802399fe5bd9af3f342692d2212cd06ead9c Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io> (cherry picked from commit 061a2012ad70159ddb28a28344f67637bc965f18) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
8bed1089c5
commit
621f8dc707
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user