tests: skip tst_QApplication::abortQuitOnShow() on Wayland

The test started to "crash" since 576c9160b12ac5efc76d06ca7ccc856aad2b051a.

Task-number: QTBUG-123172
Change-Id: I16c78f517f718510aa22a2e24ed3d502edae52e5
Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
This commit is contained in:
Liang Qi 2024-03-20 21:18:06 +01:00
parent e0940081bc
commit 91079e64d8

View File

@ -2609,6 +2609,9 @@ private:
void tst_QApplication::abortQuitOnShow()
{
if (QGuiApplication::platformName().startsWith(QLatin1String("wayland"), Qt::CaseInsensitive))
QSKIP("Wayland: This crash, see QTBUG-123172.");
int argc = 0;
QApplication app(argc, nullptr);
ShowCloseShowWidget window1(false);