blob: 5140fe6bd4be1d63d1fedd2c36a359fe78a7e071 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
if(NOT TARGET Qt::Test)
cmake_minimum_required(VERSION 3.15.0)
project(QtConnectivityTests VERSION 6.0.0 LANGUAGES C CXX)
find_package(Qt6 REQUIRED COMPONENTS BuildInternals Core Bluetooth Nfc Test
Network)
find_package(Qt6 OPTIONAL_COMPONENTS Gui Widgets)
qt_set_up_standalone_tests_build()
endif()
if(TARGET Qt::Bluetooth)
if(TARGET Qt::Quick)
add_subdirectory(bttestui)
endif()
endif()
qt_build_tests()
|