qt5base-lts/tests/auto/other/qaccessibilitylinux/CMakeLists.txt
Tor Arne Vestbø 93a04332eb Move QtAccessibilitySupport into QtGui
Task-number: QTBUG-83255
Change-Id: Ibc1b38e77c3c90030a832c41f4de65c6c38bc91d
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
2020-06-02 23:32:36 +02:00

32 lines
981 B
CMake

# Generated from qaccessibilitylinux.pro.
# special case begin
if (NOT QT_FEATURE_accessibility OR NOT TARGET Qt::LinuxAccessibilitySupportPrivate
OR (QT_BUILD_STANDALONE_TESTS AND QT_WILL_INSTALL))
return()
endif()
# special case end
#####################################################################
## tst_qaccessibilitylinux Test:
#####################################################################
add_qt_test(tst_qaccessibilitylinux
SOURCES
tst_qaccessibilitylinux.cpp
DBUS_INTERFACE_SOURCES
../../../../src/platformsupport/linuxaccessibility/dbusxml/Bus.xml
PUBLIC_LIBRARIES
Qt::DBus
Qt::Gui
Qt::GuiPrivate
Qt::LinuxAccessibilitySupportPrivate
Qt::Widgets
)
# special case begin
# require for struct_marshallers_p.h which is included dbus_interface.h
target_include_directories(tst_qaccessibilitylinux PRIVATE
../../../../src/platformsupport/linuxaccessibility
)
# special case end