Add linuxaccessibility support
Change-Id: I6766756e58cadf2d3f13331f4a453123ea575c6f Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
This commit is contained in:
parent
b102b41be7
commit
0ec6b3049b
@ -15,6 +15,9 @@ endif()
|
||||
|
||||
if(QT_FEATURE_accessibility)
|
||||
add_subdirectory(accessibility)
|
||||
if(QT_FEATURE_accessibility_atspi_bridge)
|
||||
add_subdirectory(linuxaccessibility)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if(APPLE)
|
||||
|
26
src/platformsupport/linuxaccessibility/CMakeLists.txt
Normal file
26
src/platformsupport/linuxaccessibility/CMakeLists.txt
Normal file
@ -0,0 +1,26 @@
|
||||
find_package(ATSPI2 REQUIRED)
|
||||
|
||||
add_qt_module(LinuxAccessibilitySupport
|
||||
STATIC
|
||||
SOURCES
|
||||
application.cpp application_p.h
|
||||
atspiadaptor.cpp atspiadaptor_p.h
|
||||
bridge.cpp bridge_p.h
|
||||
cache.cpp cache_p.h
|
||||
constant_mappings.cpp constant_mappings_p.h
|
||||
dbusconnection.cpp dbusconnection_p.h
|
||||
struct_marshallers.cpp struct_marshallers_p.h
|
||||
DEFINES
|
||||
QT_NO_CAST_FROM_ASCII
|
||||
LIBRARIES
|
||||
Qt::AccessibilitySupportPrivate
|
||||
Qt::CorePrivate
|
||||
Qt::DBus
|
||||
Qt::GuiPrivate
|
||||
PkgConfig::ATSPI2
|
||||
DBUS_ADAPTOR_SOURCES dbusxml/Cache.xml dbusxml/DeviceEventController.xml
|
||||
DBUS_ADAPTOR_FLAGS -i struct_marshallers_p.h
|
||||
DBUS_INTERFACE_SOURCES dbusxml/Socket.xml dbusxml/Bus.xml
|
||||
DBUS_INTERFACE_FLAGS -i struct_marshallers_p.h
|
||||
)
|
||||
|
@ -68,9 +68,9 @@ add_qt_module(XcbQpa
|
||||
## Scopes:
|
||||
#####################################################################
|
||||
|
||||
extend_target(XcbQpa CONDITION TARGET Qt::linuxaccessibility_support_private
|
||||
extend_target(XcbQpa CONDITION TARGET Qt::LinuxAccessibilitySupportPrivate
|
||||
LIBRARIES
|
||||
linuxaccessibility_supportPrivate
|
||||
Qt::LinuxAccessibilitySupportPrivate
|
||||
)
|
||||
|
||||
extend_target(XcbQpa CONDITION QT_FEATURE_vulkan
|
||||
|
Loading…
Reference in New Issue
Block a user