qt5base-lts/tests/auto/other/qaccessibilitylinux/CMakeLists.txt
Alexandru Croitor e9a328bc0e CMake: Regenerate tests with new qt_ prefixed APIs
Use pro2cmake with '--api-version 2' to force regenerate
projects to use the new prefixed qt_foo APIs.

Change-Id: I055c4837860319e93aaa6b09d646dda4fc2a4069
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
2020-07-09 09:38:35 +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:
#####################################################################
qt_add_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