qt5base-lts/tests/auto/dbus/CMakeLists.txt
Ievgenii Meshcheriakov 859ef05633 QDBusConnectionPrivate: Fix handling of queued messages
Handle any queued messages before attempting to dispatch
any newly received messages. This ensures that messages are
processed in the order they were sent.

Add a regression test for this bug using code adapted
from the bug report by Pascal Weisser. Because of the
nature of the bug, this new test does not always fail
even when compiled with affected versions of Qt though.

Fixes: QTBUG-105457
Pick-to: 6.2 6.5
Change-Id: I2725f3450ad537d63d6660e21645ac2c578e1768
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2023-05-11 19:58:12 +02:00

32 lines
1019 B
CMake

# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: BSD-3-Clause
add_subdirectory(qdbusconnection_delayed)
add_subdirectory(qdbusconnection)
add_subdirectory(qdbusconnection_no_app)
add_subdirectory(qdbusconnection_no_bus)
add_subdirectory(qdbusconnection_no_libdbus)
add_subdirectory(qdbusconnection_signalorder)
add_subdirectory(qdbusconnection_spyhook)
add_subdirectory(qdbuscontext)
add_subdirectory(qdbuslocalcalls)
add_subdirectory(qdbusmetaobject)
add_subdirectory(qdbusmetatype)
add_subdirectory(qdbuspendingcall)
add_subdirectory(qdbuspendingreply)
add_subdirectory(qdbusreply)
add_subdirectory(qdbusservicewatcher)
add_subdirectory(qdbustype)
add_subdirectory(qdbusthreading)
if(QT_FEATURE_process)
add_subdirectory(qdbusabstractadaptor)
add_subdirectory(qdbusabstractinterface)
add_subdirectory(qdbusinterface)
endif()
if(QT_FEATURE_private_tests AND QT_FEATURE_process)
add_subdirectory(qdbusmarshall)
endif()
if(TARGET Qt::Xml)
add_subdirectory(qdbusxmlparser)
endif()