37b702dc12
Accessibility tests were not being built on Windows as they were depending on a WindowsUIAutomationSupport internal module that no longer exists, as the UI Automation support classes are now in QtGui. The patch also fixes a test that was calculating widget geometry incorrectly on high DPI screens. Pick-to: 6.2 6.3 Change-Id: Iefed0f6d147853484dfab4b16838b9088fd32dcf Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
41 lines
981 B
CMake
41 lines
981 B
CMake
# Generated from qaccessibility.pro.
|
|
|
|
if(NOT QT_FEATURE_accessibility)
|
|
return()
|
|
endif()
|
|
|
|
#####################################################################
|
|
## tst_qaccessibility Test:
|
|
#####################################################################
|
|
|
|
qt_internal_add_test(tst_qaccessibility
|
|
SOURCES
|
|
accessiblewidgets.h
|
|
tst_qaccessibility.cpp
|
|
PUBLIC_LIBRARIES
|
|
Qt::CorePrivate
|
|
Qt::Gui
|
|
Qt::GuiPrivate
|
|
Qt::TestPrivate
|
|
Qt::WidgetsPrivate
|
|
)
|
|
|
|
#### Keys ignored in scope 1:.:.:qaccessibility.pro:<TRUE>:
|
|
# _REQUIREMENTS = "qtConfig(accessibility)"
|
|
|
|
## Scopes:
|
|
#####################################################################
|
|
|
|
qt_internal_extend_target(tst_qaccessibility CONDITION UNIX AND NOT APPLE AND NOT HAIKU AND NOT INTEGRITY
|
|
PUBLIC_LIBRARIES
|
|
m
|
|
)
|
|
|
|
qt_internal_extend_target(tst_qaccessibility CONDITION WIN32
|
|
PUBLIC_LIBRARIES
|
|
ole32
|
|
oleacc
|
|
oleaut32
|
|
uuid
|
|
)
|