qt5base-lts/tests/auto/other/qaccessibility/qaccessibility.pro
Jan-Arve Saether 8d28f263aa Fix IAccessible2 for Windows, enable MSAA/IAccessible for MinGW.
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>
2012-03-27 12:29:46 +02:00

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
}