2022-07-05 11:26:52 +00:00
|
|
|
# Copyright (C) 2022 The Qt Company Ltd.
|
2022-08-19 13:21:34 +00:00
|
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
2022-07-05 11:26:52 +00:00
|
|
|
|
2019-11-21 12:33:28 +00:00
|
|
|
if (NOT QT_FEATURE_accessibility OR NOT TARGET Qt::LinuxAccessibilitySupportPrivate
|
|
|
|
OR (QT_BUILD_STANDALONE_TESTS AND QT_WILL_INSTALL))
|
2019-10-22 07:59:13 +00:00
|
|
|
return()
|
|
|
|
endif()
|
|
|
|
|
|
|
|
#####################################################################
|
|
|
|
## tst_qaccessibilitylinux Test:
|
|
|
|
#####################################################################
|
|
|
|
|
2020-09-22 08:16:58 +00:00
|
|
|
qt_internal_add_test(tst_qaccessibilitylinux
|
2019-10-22 07:59:13 +00:00
|
|
|
SOURCES
|
|
|
|
tst_qaccessibilitylinux.cpp
|
|
|
|
DBUS_INTERFACE_SOURCES
|
|
|
|
../../../../src/platformsupport/linuxaccessibility/dbusxml/Bus.xml
|
2022-07-25 15:50:38 +00:00
|
|
|
LIBRARIES
|
2019-10-22 07:59:13 +00:00
|
|
|
Qt::DBus
|
|
|
|
Qt::Gui
|
2020-02-12 09:24:49 +00:00
|
|
|
Qt::GuiPrivate
|
|
|
|
Qt::LinuxAccessibilitySupportPrivate
|
2019-10-22 07:59:13 +00:00
|
|
|
Qt::Widgets
|
|
|
|
)
|
|
|
|
|
|
|
|
# require for struct_marshallers_p.h which is included dbus_interface.h
|
|
|
|
target_include_directories(tst_qaccessibilitylinux PRIVATE
|
|
|
|
../../../../src/platformsupport/linuxaccessibility
|
|
|
|
)
|