summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLucie Gérard <lucie.gerard@qt.io>2022-07-05 15:05:56 +0200
committerLucie Gérard <lucie.gerard@qt.io>2022-07-08 11:58:18 +0200
commiteb18e2af46f38e78ff63646e80ae13c1a4f653eb (patch)
treeebc1749ef55d941905abf727629402d914d0dce3
parentb37effa83aecd4e32199f6249e186fa7f344bc2d (diff)
downloadqtconnectivity-eb18e2af46f38e78ff63646e80ae13c1a4f653eb.tar.gz
Add license headers to cmake files
CMakeLists.txt and .cmake files of significant size (more than 2 lines according to our check in tst_license.pl) now have the copyright and license header. Existing copyright statements remain intact Task-number: QTBUG-88621 Change-Id: Ic31d264037cb00d72436d585820e45e4ccac5c60 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
-rw-r--r--CMakeLists.txt3
-rw-r--r--cmake/FindBlueZ.cmake3
-rw-r--r--cmake/FindPCSCLite.cmake3
-rw-r--r--config.tests/bluez/CMakeLists.txt3
-rw-r--r--config.tests/bluez_le/CMakeLists.txt3
-rw-r--r--config.tests/linux_crypto_api/CMakeLists.txt3
-rw-r--r--config.tests/winrt_bt/CMakeLists.txt3
-rw-r--r--examples/CMakeLists.txt3
-rw-r--r--examples/bluetooth/CMakeLists.txt3
-rw-r--r--examples/bluetooth/btchat/CMakeLists.txt3
-rw-r--r--examples/bluetooth/btscanner/CMakeLists.txt3
-rw-r--r--examples/bluetooth/heartrate-game/CMakeLists.txt3
-rw-r--r--examples/bluetooth/heartrate-server/CMakeLists.txt3
-rw-r--r--examples/bluetooth/lowenergyscanner/CMakeLists.txt3
-rw-r--r--examples/bluetooth/pingpong/CMakeLists.txt3
-rw-r--r--examples/nfc/CMakeLists.txt3
-rw-r--r--examples/nfc/annotatedurl/CMakeLists.txt3
-rw-r--r--examples/nfc/ndefeditor/CMakeLists.txt3
-rw-r--r--src/CMakeLists.txt3
-rw-r--r--src/android/CMakeLists.txt3
-rw-r--r--src/android/bluetooth/CMakeLists.txt3
-rw-r--r--src/android/nfc/CMakeLists.txt3
-rw-r--r--src/bluetooth/CMakeLists.txt3
-rw-r--r--src/bluetooth/configure.cmake3
-rw-r--r--src/bluetooth/doc/snippets/CMakeLists.txt3
-rw-r--r--src/nfc/CMakeLists.txt3
-rw-r--r--src/nfc/configure.cmake3
-rw-r--r--src/tools/sdpscanner/CMakeLists.txt3
-rw-r--r--tests/CMakeLists.txt3
-rw-r--r--tests/auto/CMakeLists.txt3
-rw-r--r--tests/auto/cmake/CMakeLists.txt3
-rw-r--r--tests/auto/qbluetoothaddress/CMakeLists.txt3
-rw-r--r--tests/auto/qbluetoothdevicediscoveryagent/CMakeLists.txt3
-rw-r--r--tests/auto/qbluetoothdeviceinfo/CMakeLists.txt3
-rw-r--r--tests/auto/qbluetoothhostinfo/CMakeLists.txt3
-rw-r--r--tests/auto/qbluetoothlocaldevice/CMakeLists.txt3
-rw-r--r--tests/auto/qbluetoothserver/CMakeLists.txt3
-rw-r--r--tests/auto/qbluetoothservicediscoveryagent/CMakeLists.txt3
-rw-r--r--tests/auto/qbluetoothserviceinfo/CMakeLists.txt3
-rw-r--r--tests/auto/qbluetoothsocket/CMakeLists.txt3
-rw-r--r--tests/auto/qbluetoothuuid/CMakeLists.txt3
-rw-r--r--tests/auto/qlowenergycharacteristic/CMakeLists.txt3
-rw-r--r--tests/auto/qlowenergycontroller-gattserver/server/CMakeLists.txt3
-rw-r--r--tests/auto/qlowenergycontroller-gattserver/test/CMakeLists.txt3
-rw-r--r--tests/auto/qlowenergycontroller/CMakeLists.txt3
-rw-r--r--tests/auto/qlowenergydescriptor/CMakeLists.txt3
-rw-r--r--tests/auto/qlowenergyservice/CMakeLists.txt3
-rw-r--r--tests/auto/qndeffilter/CMakeLists.txt3
-rw-r--r--tests/auto/qndefmessage/CMakeLists.txt3
-rw-r--r--tests/auto/qndefnfcsmartposterrecord/CMakeLists.txt3
-rw-r--r--tests/auto/qndefrecord/CMakeLists.txt3
-rw-r--r--tests/auto/qnearfieldmanager/CMakeLists.txt3
-rw-r--r--tests/auto/qnearfieldtagtype1/CMakeLists.txt3
-rw-r--r--tests/auto/qnearfieldtagtype2/CMakeLists.txt3
-rw-r--r--tests/bluetoothtestdevice/CMakeLists.txt3
-rw-r--r--tests/bttestui/CMakeLists.txt3
-rw-r--r--tests/manual/CMakeLists.txt3
-rw-r--r--tests/manual/qlowenergycontroller/CMakeLists.txt3
58 files changed, 174 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 7d3735e8..696a0e95 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,3 +1,6 @@
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+
cmake_minimum_required(VERSION 3.16)
include(.cmake.conf)
diff --git a/cmake/FindBlueZ.cmake b/cmake/FindBlueZ.cmake
index aa192f10..d820deec 100644
--- a/cmake/FindBlueZ.cmake
+++ b/cmake/FindBlueZ.cmake
@@ -1,3 +1,6 @@
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+
find_package(PkgConfig QUIET)
pkg_check_modules(BLUEZ bluez IMPORTED_TARGET)
diff --git a/cmake/FindPCSCLite.cmake b/cmake/FindPCSCLite.cmake
index 644c89b1..17eaea8e 100644
--- a/cmake/FindPCSCLite.cmake
+++ b/cmake/FindPCSCLite.cmake
@@ -1,3 +1,6 @@
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+
if(WIN32)
add_library(PkgConfig::PCSCLITE INTERFACE IMPORTED)
target_link_libraries(PkgConfig::PCSCLITE INTERFACE winscard)
diff --git a/config.tests/bluez/CMakeLists.txt b/config.tests/bluez/CMakeLists.txt
index 0461ea18..01d99df3 100644
--- a/config.tests/bluez/CMakeLists.txt
+++ b/config.tests/bluez/CMakeLists.txt
@@ -1,3 +1,6 @@
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+
cmake_minimum_required(VERSION 3.16)
project(config_test_bluez LANGUAGES C CXX)
diff --git a/config.tests/bluez_le/CMakeLists.txt b/config.tests/bluez_le/CMakeLists.txt
index b63660e8..680e2a24 100644
--- a/config.tests/bluez_le/CMakeLists.txt
+++ b/config.tests/bluez_le/CMakeLists.txt
@@ -1,3 +1,6 @@
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+
cmake_minimum_required(VERSION 3.16)
project(config_test_bluez_le LANGUAGES C CXX)
diff --git a/config.tests/linux_crypto_api/CMakeLists.txt b/config.tests/linux_crypto_api/CMakeLists.txt
index 871554a9..e275637e 100644
--- a/config.tests/linux_crypto_api/CMakeLists.txt
+++ b/config.tests/linux_crypto_api/CMakeLists.txt
@@ -1,3 +1,6 @@
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+
cmake_minimum_required(VERSION 3.16)
project(config_test_linux_crypto_api LANGUAGES C CXX)
diff --git a/config.tests/winrt_bt/CMakeLists.txt b/config.tests/winrt_bt/CMakeLists.txt
index 239d88b8..936511d2 100644
--- a/config.tests/winrt_bt/CMakeLists.txt
+++ b/config.tests/winrt_bt/CMakeLists.txt
@@ -1,3 +1,6 @@
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+
cmake_minimum_required(VERSION 3.16)
project(config_test_winrt LANGUAGES C CXX)
diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt
index 812aa74e..f7c7b912 100644
--- a/examples/CMakeLists.txt
+++ b/examples/CMakeLists.txt
@@ -1,3 +1,6 @@
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
+
qt_examples_build_begin(EXTERNAL_BUILD)
if(TARGET Qt::Bluetooth)
diff --git a/examples/bluetooth/CMakeLists.txt b/examples/bluetooth/CMakeLists.txt
index 3034f659..52050552 100644
--- a/examples/bluetooth/CMakeLists.txt
+++ b/examples/bluetooth/CMakeLists.txt
@@ -1,3 +1,6 @@
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
+
qt_internal_add_example(heartrate-server)
if(TARGET Qt::Widgets)
qt_internal_add_example(btchat)
diff --git a/examples/bluetooth/btchat/CMakeLists.txt b/examples/bluetooth/btchat/CMakeLists.txt
index 1cce8bf8..81606fe4 100644
--- a/examples/bluetooth/btchat/CMakeLists.txt
+++ b/examples/bluetooth/btchat/CMakeLists.txt
@@ -1,3 +1,6 @@
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
+
cmake_minimum_required(VERSION 3.16)
project(btchat LANGUAGES CXX)
diff --git a/examples/bluetooth/btscanner/CMakeLists.txt b/examples/bluetooth/btscanner/CMakeLists.txt
index 18c9ff94..43aa27b9 100644
--- a/examples/bluetooth/btscanner/CMakeLists.txt
+++ b/examples/bluetooth/btscanner/CMakeLists.txt
@@ -1,3 +1,6 @@
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
+
cmake_minimum_required(VERSION 3.16)
project(btscanner LANGUAGES CXX)
diff --git a/examples/bluetooth/heartrate-game/CMakeLists.txt b/examples/bluetooth/heartrate-game/CMakeLists.txt
index 341b7d4d..924e9fc1 100644
--- a/examples/bluetooth/heartrate-game/CMakeLists.txt
+++ b/examples/bluetooth/heartrate-game/CMakeLists.txt
@@ -1,3 +1,6 @@
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
+
cmake_minimum_required(VERSION 3.16)
project(heartrate-game LANGUAGES CXX)
diff --git a/examples/bluetooth/heartrate-server/CMakeLists.txt b/examples/bluetooth/heartrate-server/CMakeLists.txt
index 4f0c68de..13891036 100644
--- a/examples/bluetooth/heartrate-server/CMakeLists.txt
+++ b/examples/bluetooth/heartrate-server/CMakeLists.txt
@@ -1,3 +1,6 @@
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
+
cmake_minimum_required(VERSION 3.16)
project(heartrate-server LANGUAGES CXX)
diff --git a/examples/bluetooth/lowenergyscanner/CMakeLists.txt b/examples/bluetooth/lowenergyscanner/CMakeLists.txt
index 41a6a7a9..cfd8ceb7 100644
--- a/examples/bluetooth/lowenergyscanner/CMakeLists.txt
+++ b/examples/bluetooth/lowenergyscanner/CMakeLists.txt
@@ -1,3 +1,6 @@
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
+
cmake_minimum_required(VERSION 3.16)
project(lowenergyscanner LANGUAGES CXX)
diff --git a/examples/bluetooth/pingpong/CMakeLists.txt b/examples/bluetooth/pingpong/CMakeLists.txt
index 914b9ba8..a122b118 100644
--- a/examples/bluetooth/pingpong/CMakeLists.txt
+++ b/examples/bluetooth/pingpong/CMakeLists.txt
@@ -1,3 +1,6 @@
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
+
cmake_minimum_required(VERSION 3.16)
project(btpingpong LANGUAGES CXX)
diff --git a/examples/nfc/CMakeLists.txt b/examples/nfc/CMakeLists.txt
index 46b9a082..46d9f187 100644
--- a/examples/nfc/CMakeLists.txt
+++ b/examples/nfc/CMakeLists.txt
@@ -1,3 +1,6 @@
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
+
if(TARGET Qt::Widgets)
qt_internal_add_example(annotatedurl)
qt_internal_add_example(ndefeditor)
diff --git a/examples/nfc/annotatedurl/CMakeLists.txt b/examples/nfc/annotatedurl/CMakeLists.txt
index a0702e5e..d59749f6 100644
--- a/examples/nfc/annotatedurl/CMakeLists.txt
+++ b/examples/nfc/annotatedurl/CMakeLists.txt
@@ -1,3 +1,6 @@
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
+
cmake_minimum_required(VERSION 3.16)
project(annotatedurl LANGUAGES CXX)
diff --git a/examples/nfc/ndefeditor/CMakeLists.txt b/examples/nfc/ndefeditor/CMakeLists.txt
index 6fab4a85..9a8f7e1d 100644
--- a/examples/nfc/ndefeditor/CMakeLists.txt
+++ b/examples/nfc/ndefeditor/CMakeLists.txt
@@ -1,3 +1,6 @@
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
+
cmake_minimum_required(VERSION 3.16)
project(ndefeditor LANGUAGES CXX)
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 76c46fc7..45ac5126 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -1,3 +1,6 @@
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+
add_subdirectory(bluetooth)
add_subdirectory(nfc)
if(ANDROID)
diff --git a/src/android/CMakeLists.txt b/src/android/CMakeLists.txt
index 499af7d9..72fc3f27 100644
--- a/src/android/CMakeLists.txt
+++ b/src/android/CMakeLists.txt
@@ -1,3 +1,6 @@
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+
if(TARGET Qt::Bluetooth)
add_subdirectory(bluetooth)
endif()
diff --git a/src/android/bluetooth/CMakeLists.txt b/src/android/bluetooth/CMakeLists.txt
index 6e1fd9b8..d3c2f47c 100644
--- a/src/android/bluetooth/CMakeLists.txt
+++ b/src/android/bluetooth/CMakeLists.txt
@@ -1,3 +1,6 @@
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+
qt_get_android_sdk_jar_for_api("android-21" android_sdk)
set(java_sources
diff --git a/src/android/nfc/CMakeLists.txt b/src/android/nfc/CMakeLists.txt
index 4f19347b..9e99e301 100644
--- a/src/android/nfc/CMakeLists.txt
+++ b/src/android/nfc/CMakeLists.txt
@@ -1,3 +1,6 @@
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+
qt_get_android_sdk_jar_for_api("android-18" android_sdk)
set(java_sources
diff --git a/src/bluetooth/CMakeLists.txt b/src/bluetooth/CMakeLists.txt
index 909a26f4..571815f8 100644
--- a/src/bluetooth/CMakeLists.txt
+++ b/src/bluetooth/CMakeLists.txt
@@ -1,3 +1,6 @@
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+
#####################################################################
## Bluetooth Module:
#####################################################################
diff --git a/src/bluetooth/configure.cmake b/src/bluetooth/configure.cmake
index 2090a255..0658dfd9 100644
--- a/src/bluetooth/configure.cmake
+++ b/src/bluetooth/configure.cmake
@@ -1,3 +1,6 @@
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+
#### Inputs
diff --git a/src/bluetooth/doc/snippets/CMakeLists.txt b/src/bluetooth/doc/snippets/CMakeLists.txt
index da43adc1..85247929 100644
--- a/src/bluetooth/doc/snippets/CMakeLists.txt
+++ b/src/bluetooth/doc/snippets/CMakeLists.txt
@@ -1,3 +1,6 @@
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+
# ![0]
find_package(Qt6 REQUIRED COMPONENTS Bluetooth)
target_link_libraries(mytarget PRIVATE Qt6::Bluetooth)
diff --git a/src/nfc/CMakeLists.txt b/src/nfc/CMakeLists.txt
index adf8eadb..a7522270 100644
--- a/src/nfc/CMakeLists.txt
+++ b/src/nfc/CMakeLists.txt
@@ -1,3 +1,6 @@
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+
#####################################################################
## Nfc Module:
#####################################################################
diff --git a/src/nfc/configure.cmake b/src/nfc/configure.cmake
index 8588b5e6..7a0799c7 100644
--- a/src/nfc/configure.cmake
+++ b/src/nfc/configure.cmake
@@ -1,3 +1,6 @@
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+
qt_find_package(PCSCLite PROVIDED_TARGETS PkgConfig::PCSCLite)
qt_feature("pcsclite" PUBLIC
diff --git a/src/tools/sdpscanner/CMakeLists.txt b/src/tools/sdpscanner/CMakeLists.txt
index 92c6a61e..e4e38beb 100644
--- a/src/tools/sdpscanner/CMakeLists.txt
+++ b/src/tools/sdpscanner/CMakeLists.txt
@@ -1,3 +1,6 @@
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+
#####################################################################
## sdpscanner Tool:
#####################################################################
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index 4e7d7c2e..6762833d 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -1,3 +1,6 @@
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+
if(QT_BUILD_STANDALONE_TESTS)
# Add qt_find_package calls for extra dependencies that need to be found when building
# the standalone tests here.
diff --git a/tests/auto/CMakeLists.txt b/tests/auto/CMakeLists.txt
index 96222438..d5b566e9 100644
--- a/tests/auto/CMakeLists.txt
+++ b/tests/auto/CMakeLists.txt
@@ -1,3 +1,6 @@
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+
if(TARGET Qt::Bluetooth)
add_subdirectory(qbluetoothaddress)
add_subdirectory(qbluetoothdevicediscoveryagent)
diff --git a/tests/auto/cmake/CMakeLists.txt b/tests/auto/cmake/CMakeLists.txt
index 786e9c9f..2ad75f67 100644
--- a/tests/auto/cmake/CMakeLists.txt
+++ b/tests/auto/cmake/CMakeLists.txt
@@ -1,3 +1,6 @@
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+
# This is an automatic test for the CMake configuration files.
# To run it manually,
# 1) mkdir build # Create a build directory
diff --git a/tests/auto/qbluetoothaddress/CMakeLists.txt b/tests/auto/qbluetoothaddress/CMakeLists.txt
index dbfdcc09..11745e78 100644
--- a/tests/auto/qbluetoothaddress/CMakeLists.txt
+++ b/tests/auto/qbluetoothaddress/CMakeLists.txt
@@ -1,3 +1,6 @@
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+
#####################################################################
## tst_qbluetoothaddress Test:
#####################################################################
diff --git a/tests/auto/qbluetoothdevicediscoveryagent/CMakeLists.txt b/tests/auto/qbluetoothdevicediscoveryagent/CMakeLists.txt
index 44244264..5feef071 100644
--- a/tests/auto/qbluetoothdevicediscoveryagent/CMakeLists.txt
+++ b/tests/auto/qbluetoothdevicediscoveryagent/CMakeLists.txt
@@ -1,3 +1,6 @@
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+
#####################################################################
## tst_qbluetoothdevicediscoveryagent Test:
#####################################################################
diff --git a/tests/auto/qbluetoothdeviceinfo/CMakeLists.txt b/tests/auto/qbluetoothdeviceinfo/CMakeLists.txt
index 11db1da7..5d5301b6 100644
--- a/tests/auto/qbluetoothdeviceinfo/CMakeLists.txt
+++ b/tests/auto/qbluetoothdeviceinfo/CMakeLists.txt
@@ -1,3 +1,6 @@
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+
#####################################################################
## tst_qbluetoothdeviceinfo Test:
#####################################################################
diff --git a/tests/auto/qbluetoothhostinfo/CMakeLists.txt b/tests/auto/qbluetoothhostinfo/CMakeLists.txt
index 9ab1d69d..67741636 100644
--- a/tests/auto/qbluetoothhostinfo/CMakeLists.txt
+++ b/tests/auto/qbluetoothhostinfo/CMakeLists.txt
@@ -1,3 +1,6 @@
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+
#####################################################################
## tst_qbluetoothhostinfo Test:
#####################################################################
diff --git a/tests/auto/qbluetoothlocaldevice/CMakeLists.txt b/tests/auto/qbluetoothlocaldevice/CMakeLists.txt
index d170430d..c7285277 100644
--- a/tests/auto/qbluetoothlocaldevice/CMakeLists.txt
+++ b/tests/auto/qbluetoothlocaldevice/CMakeLists.txt
@@ -1,3 +1,6 @@
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+
#####################################################################
## tst_qbluetoothlocaldevice Test:
#####################################################################
diff --git a/tests/auto/qbluetoothserver/CMakeLists.txt b/tests/auto/qbluetoothserver/CMakeLists.txt
index 8a4feae3..b966586d 100644
--- a/tests/auto/qbluetoothserver/CMakeLists.txt
+++ b/tests/auto/qbluetoothserver/CMakeLists.txt
@@ -1,3 +1,6 @@
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+
#####################################################################
## tst_qbluetoothserver Test:
#####################################################################
diff --git a/tests/auto/qbluetoothservicediscoveryagent/CMakeLists.txt b/tests/auto/qbluetoothservicediscoveryagent/CMakeLists.txt
index fd1244a0..407db998 100644
--- a/tests/auto/qbluetoothservicediscoveryagent/CMakeLists.txt
+++ b/tests/auto/qbluetoothservicediscoveryagent/CMakeLists.txt
@@ -1,3 +1,6 @@
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+
#####################################################################
## tst_qbluetoothservicediscoveryagent Test:
#####################################################################
diff --git a/tests/auto/qbluetoothserviceinfo/CMakeLists.txt b/tests/auto/qbluetoothserviceinfo/CMakeLists.txt
index 4857dfb7..dd91c7ad 100644
--- a/tests/auto/qbluetoothserviceinfo/CMakeLists.txt
+++ b/tests/auto/qbluetoothserviceinfo/CMakeLists.txt
@@ -1,3 +1,6 @@
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+
#####################################################################
## tst_qbluetoothserviceinfo Test:
#####################################################################
diff --git a/tests/auto/qbluetoothsocket/CMakeLists.txt b/tests/auto/qbluetoothsocket/CMakeLists.txt
index 676e3634..95865636 100644
--- a/tests/auto/qbluetoothsocket/CMakeLists.txt
+++ b/tests/auto/qbluetoothsocket/CMakeLists.txt
@@ -1,3 +1,6 @@
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+
#####################################################################
## tst_qbluetoothsocket Test:
#####################################################################
diff --git a/tests/auto/qbluetoothuuid/CMakeLists.txt b/tests/auto/qbluetoothuuid/CMakeLists.txt
index d11a9721..f985de68 100644
--- a/tests/auto/qbluetoothuuid/CMakeLists.txt
+++ b/tests/auto/qbluetoothuuid/CMakeLists.txt
@@ -1,3 +1,6 @@
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+
#####################################################################
## tst_qbluetoothuuid Test:
#####################################################################
diff --git a/tests/auto/qlowenergycharacteristic/CMakeLists.txt b/tests/auto/qlowenergycharacteristic/CMakeLists.txt
index 44d47e2d..3156cf8d 100644
--- a/tests/auto/qlowenergycharacteristic/CMakeLists.txt
+++ b/tests/auto/qlowenergycharacteristic/CMakeLists.txt
@@ -1,3 +1,6 @@
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+
#####################################################################
## tst_qlowenergycharacteristic Test:
#####################################################################
diff --git a/tests/auto/qlowenergycontroller-gattserver/server/CMakeLists.txt b/tests/auto/qlowenergycontroller-gattserver/server/CMakeLists.txt
index a0a6aa10..b0220d6c 100644
--- a/tests/auto/qlowenergycontroller-gattserver/server/CMakeLists.txt
+++ b/tests/auto/qlowenergycontroller-gattserver/server/CMakeLists.txt
@@ -1,3 +1,6 @@
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+
#####################################################################
## server Binary:
#####################################################################
diff --git a/tests/auto/qlowenergycontroller-gattserver/test/CMakeLists.txt b/tests/auto/qlowenergycontroller-gattserver/test/CMakeLists.txt
index a1117f46..69b5b510 100644
--- a/tests/auto/qlowenergycontroller-gattserver/test/CMakeLists.txt
+++ b/tests/auto/qlowenergycontroller-gattserver/test/CMakeLists.txt
@@ -1,3 +1,6 @@
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+
#####################################################################
## tst_qlowenergycontroller-gattserver Test:
#####################################################################
diff --git a/tests/auto/qlowenergycontroller/CMakeLists.txt b/tests/auto/qlowenergycontroller/CMakeLists.txt
index cab6bb44..2561d072 100644
--- a/tests/auto/qlowenergycontroller/CMakeLists.txt
+++ b/tests/auto/qlowenergycontroller/CMakeLists.txt
@@ -1,3 +1,6 @@
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+
#####################################################################
## tst_qlowenergycontroller Test:
#####################################################################
diff --git a/tests/auto/qlowenergydescriptor/CMakeLists.txt b/tests/auto/qlowenergydescriptor/CMakeLists.txt
index 7bc72966..17245661 100644
--- a/tests/auto/qlowenergydescriptor/CMakeLists.txt
+++ b/tests/auto/qlowenergydescriptor/CMakeLists.txt
@@ -1,3 +1,6 @@
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+
#####################################################################
## tst_qlowenergydescriptor Test:
#####################################################################
diff --git a/tests/auto/qlowenergyservice/CMakeLists.txt b/tests/auto/qlowenergyservice/CMakeLists.txt
index 5478cceb..c293faf9 100644
--- a/tests/auto/qlowenergyservice/CMakeLists.txt
+++ b/tests/auto/qlowenergyservice/CMakeLists.txt
@@ -1,3 +1,6 @@
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+
#####################################################################
## tst_qlowenergyservice Test:
#####################################################################
diff --git a/tests/auto/qndeffilter/CMakeLists.txt b/tests/auto/qndeffilter/CMakeLists.txt
index 6ad0dd06..686d032a 100644
--- a/tests/auto/qndeffilter/CMakeLists.txt
+++ b/tests/auto/qndeffilter/CMakeLists.txt
@@ -1,3 +1,6 @@
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+
qt_internal_add_test(tst_qndeffilter
SOURCES
tst_qndeffilter.cpp
diff --git a/tests/auto/qndefmessage/CMakeLists.txt b/tests/auto/qndefmessage/CMakeLists.txt
index f0a60b72..f7c6b908 100644
--- a/tests/auto/qndefmessage/CMakeLists.txt
+++ b/tests/auto/qndefmessage/CMakeLists.txt
@@ -1,3 +1,6 @@
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+
#####################################################################
## tst_qndefmessage Test:
#####################################################################
diff --git a/tests/auto/qndefnfcsmartposterrecord/CMakeLists.txt b/tests/auto/qndefnfcsmartposterrecord/CMakeLists.txt
index db6d70ed..0f975ec1 100644
--- a/tests/auto/qndefnfcsmartposterrecord/CMakeLists.txt
+++ b/tests/auto/qndefnfcsmartposterrecord/CMakeLists.txt
@@ -1,3 +1,6 @@
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+
#####################################################################
## tst_qndefnfcsmartposterrecord Test:
#####################################################################
diff --git a/tests/auto/qndefrecord/CMakeLists.txt b/tests/auto/qndefrecord/CMakeLists.txt
index 331454fc..e237f01d 100644
--- a/tests/auto/qndefrecord/CMakeLists.txt
+++ b/tests/auto/qndefrecord/CMakeLists.txt
@@ -1,3 +1,6 @@
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+
#####################################################################
## tst_qndefrecord Test:
#####################################################################
diff --git a/tests/auto/qnearfieldmanager/CMakeLists.txt b/tests/auto/qnearfieldmanager/CMakeLists.txt
index af94db09..5db1422a 100644
--- a/tests/auto/qnearfieldmanager/CMakeLists.txt
+++ b/tests/auto/qnearfieldmanager/CMakeLists.txt
@@ -1,3 +1,6 @@
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+
if (NOT QT_FEATURE_private_tests)
return()
endif()
diff --git a/tests/auto/qnearfieldtagtype1/CMakeLists.txt b/tests/auto/qnearfieldtagtype1/CMakeLists.txt
index 744a9504..c42b9216 100644
--- a/tests/auto/qnearfieldtagtype1/CMakeLists.txt
+++ b/tests/auto/qnearfieldtagtype1/CMakeLists.txt
@@ -1,3 +1,6 @@
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+
if (NOT QT_FEATURE_private_tests)
return()
endif()
diff --git a/tests/auto/qnearfieldtagtype2/CMakeLists.txt b/tests/auto/qnearfieldtagtype2/CMakeLists.txt
index 63f28de7..b2ad4dd6 100644
--- a/tests/auto/qnearfieldtagtype2/CMakeLists.txt
+++ b/tests/auto/qnearfieldtagtype2/CMakeLists.txt
@@ -1,3 +1,6 @@
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+
if (NOT QT_FEATURE_private_tests)
return()
endif()
diff --git a/tests/bluetoothtestdevice/CMakeLists.txt b/tests/bluetoothtestdevice/CMakeLists.txt
index c5553599..5b63b4a8 100644
--- a/tests/bluetoothtestdevice/CMakeLists.txt
+++ b/tests/bluetoothtestdevice/CMakeLists.txt
@@ -1,3 +1,6 @@
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+
#####################################################################
## bluetoothtestdevice Tool:
#####################################################################
diff --git a/tests/bttestui/CMakeLists.txt b/tests/bttestui/CMakeLists.txt
index 7f1c31fe..440c57b6 100644
--- a/tests/bttestui/CMakeLists.txt
+++ b/tests/bttestui/CMakeLists.txt
@@ -1,3 +1,6 @@
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+
#####################################################################
## bttestui Binary:
#####################################################################
diff --git a/tests/manual/CMakeLists.txt b/tests/manual/CMakeLists.txt
index 2eb9ff8d..82a99f84 100644
--- a/tests/manual/CMakeLists.txt
+++ b/tests/manual/CMakeLists.txt
@@ -1,3 +1,6 @@
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+
if(TARGET Qt::Bluetooth)
add_subdirectory(qlowenergycontroller)
endif()
diff --git a/tests/manual/qlowenergycontroller/CMakeLists.txt b/tests/manual/qlowenergycontroller/CMakeLists.txt
index 949aff7d..8b009c34 100644
--- a/tests/manual/qlowenergycontroller/CMakeLists.txt
+++ b/tests/manual/qlowenergycontroller/CMakeLists.txt
@@ -1,3 +1,6 @@
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+
cmake_minimum_required(VERSION 3.16...3.21)
if(NOT TARGET Qt::Bluetooth)