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-10-08 14:46:11 +00:00
|
|
|
#####################################################################
|
2019-10-31 14:35:23 +00:00
|
|
|
## tst_qguieventloop Test:
|
2019-10-08 14:46:11 +00:00
|
|
|
#####################################################################
|
|
|
|
|
2023-06-29 15:27:04 +00:00
|
|
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
|
|
|
cmake_minimum_required(VERSION 3.16)
|
|
|
|
project(tst_qguieventloop LANGUAGES CXX)
|
|
|
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
|
|
|
endif()
|
|
|
|
|
2020-09-22 08:16:58 +00:00
|
|
|
qt_internal_add_test(tst_qguieventloop
|
2019-10-08 14:46:11 +00:00
|
|
|
SOURCES
|
|
|
|
../../../corelib/kernel/qeventloop/tst_qeventloop.cpp
|
2022-07-25 15:50:38 +00:00
|
|
|
LIBRARIES
|
2020-02-12 09:24:49 +00:00
|
|
|
Qt::CorePrivate
|
2019-10-31 14:35:23 +00:00
|
|
|
Qt::Gui
|
2019-11-12 14:23:59 +00:00
|
|
|
Qt::Network
|
2019-10-08 14:46:11 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
## Scopes:
|
|
|
|
#####################################################################
|
|
|
|
|
2020-09-22 08:16:58 +00:00
|
|
|
qt_internal_extend_target(tst_qguieventloop CONDITION WIN32
|
2022-07-25 15:50:38 +00:00
|
|
|
LIBRARIES
|
2019-10-08 14:46:11 +00:00
|
|
|
user32
|
|
|
|
)
|
|
|
|
|
2020-09-22 08:16:58 +00:00
|
|
|
qt_internal_extend_target(tst_qguieventloop CONDITION QT_FEATURE_glib
|
2019-10-08 14:46:11 +00:00
|
|
|
DEFINES
|
|
|
|
HAVE_GLIB
|
|
|
|
)
|