QAccessible test: skip focusChild on wayland
The test implicitly relies on window activation as QWidget only emits accessibility events for focus changes in the active window. So skip it on platforms that don't support WindowActivation and remove it from the blacklist. Fixes: QTBUG-109763 Pick-to: 6.5 Change-Id: I67d9a95f4f36b5271fe53ae90140a28770566c83 Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
This commit is contained in:
parent
3c83b3c010
commit
f334a22eae
@ -1,3 +0,0 @@
|
||||
[focusChild]
|
||||
# QTBUG-109763
|
||||
wayland
|
@ -4156,6 +4156,9 @@ private:
|
||||
|
||||
void tst_QAccessibility::focusChild()
|
||||
{
|
||||
if (!QGuiApplicationPrivate::platformIntegration()->hasCapability(QPlatformIntegration::WindowActivation))
|
||||
QSKIP("Platform does not support window activation");
|
||||
|
||||
{
|
||||
QMainWindow mainWindow;
|
||||
QtTestAccessibleWidget *widget1 = new QtTestAccessibleWidget(0, "Widget1");
|
||||
|
Loading…
Reference in New Issue
Block a user