8d28f263aa
Commit 5e9089135b
had some problems:
* It left out the cast to IServiceProvider in the refactoring of
QueryInterface. This broke IAccessible2.
* It also failed to enable the codepath for MinGW inside wrap(), which
effectively caused MSAA for MinGW to be disabled.
It also adds an autotest to the bridge (finally). It is simple,
but it should help avoiding committing stuff that completely breaks
the bridge.
Change-Id: I459d89c3bdb93e54ddea85872b50fc1dba0fe4a0
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
21 lines
483 B
Prolog
21 lines
483 B
Prolog
CONFIG += testcase
|
|
TARGET = tst_qaccessibility
|
|
requires(contains(QT_CONFIG,accessibility))
|
|
QT += widgets testlib
|
|
SOURCES += tst_qaccessibility.cpp
|
|
|
|
unix:!mac:LIBS+=-lm
|
|
|
|
wince*: {
|
|
accessneeded.files = $$QT_BUILD_TREE\\plugins\\accessible\\*.dll
|
|
accessneeded.path = accessible
|
|
DEPLOYMENT += accessneeded
|
|
}
|
|
|
|
mac: CONFIG += insignificant_test # QTBUG-22812
|
|
|
|
win32 {
|
|
!*g++: include(../../../../src/3rdparty/iaccessible2/iaccessible2.pri)
|
|
LIBS += -loleacc -loleaut32 -lole32
|
|
}
|