qt5base-lts/tests/auto/other/qaccessibilitymac/qaccessibilitymac.pro
Frederik Gladhorn cd756e5ed5 Cocoa Accessibility: fix ignoring of objects
On Mac it's expected that some elements are
filtered out of the a11y hierarchy.
We do this with the shouldBeIgnored function.
The problem is that we would ignore some objects
and then return them in the child attribute function.
This is inconsistent and leads to voice over not working.

For example having a plain QWidget with other widgets as
children would cut off all of these widgets, since the
plain QWidget would be ignored.

Change-Id: I5f6c26b272e5ca57d59c1ed1ef47e9a2b1181295
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
Reviewed-by: Jan Arve Sæther <jan-arve.saether@digia.com>
2013-06-07 14:54:39 +02:00

17 lines
387 B
Prolog

CONFIG += testcase
TARGET = tst_qaccessibilitymac
# LIBS += -framework Carbon
QT += widgets testlib
HEADERS += tst_qaccessibilitymac_helpers.h
SOURCES += tst_qaccessibilitymac.cpp
mac {
LIBS += -framework Security -framework AppKit -framework ApplicationServices
OBJECTIVE_SOURCES += tst_qaccessibilitymac_helpers.mm
}
requires(mac)
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0