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>
This commit is contained in:
parent
d8cd56df6b
commit
061a2012ad
@ -2680,6 +2680,9 @@ void tst_QGraphicsScene::renderItemsWithNegativeWidthOrHeight()
|
|||||||
#ifdef Q_OS_ANDROID
|
#ifdef Q_OS_ANDROID
|
||||||
QSKIP("Test only works on platforms with resizable windows");
|
QSKIP("Test only works on platforms with resizable windows");
|
||||||
#endif
|
#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());
|
QGraphicsScene scene(0, 0, m_testSize.width(), m_testSize.height());
|
||||||
|
|
||||||
// Add item with negative width.
|
// Add item with negative width.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user