summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLucie Gérard <lucie.gerard@qt.io>2022-07-05 15:03:31 +0200
committerLucie Gérard <lucie.gerard@qt.io>2022-07-07 14:41:17 +0200
commit470d59eb5aa5a209292afeae3f0559b8e1ca8d2c (patch)
tree489d7c508be3d2f4f96b0787d828fffae3c7c5da
parent3aaaea286e7fad74aaa1ad728259b008992ef969 (diff)
downloadqtsensors-470d59eb5aa5a209292afeae3f0559b8e1ca8d2c.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: If432c07e9205f97f3c256ca2a8e682478d9dd82c 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/FindSensorfw.cmake3
-rw-r--r--config.tests/winrt/CMakeLists.txt3
-rw-r--r--configure.cmake3
-rw-r--r--examples/CMakeLists.txt3
-rw-r--r--examples/sensors/CMakeLists.txt3
-rw-r--r--examples/sensors/accelbubble/CMakeLists.txt3
-rw-r--r--examples/sensors/grue/CMakeLists.txt3
-rw-r--r--examples/sensors/grue/console_app/CMakeLists.txt3
-rw-r--r--examples/sensors/grue/plugin/CMakeLists.txt3
-rw-r--r--examples/sensors/maze/CMakeLists.txt3
-rw-r--r--examples/sensors/qmlqtsensors/CMakeLists.txt3
-rw-r--r--examples/sensors/qmlsensorgestures/CMakeLists.txt3
-rw-r--r--examples/sensors/qmlsensorgestures/plugin/CMakeLists.txt3
-rw-r--r--examples/sensors/sensor_explorer/CMakeLists.txt3
-rw-r--r--examples/sensors/sensorgestures/CMakeLists.txt3
-rw-r--r--examples/sensors/sensorsshowcase/CMakeLists.txt3
-rw-r--r--examples/sensors/shakeit/CMakeLists.txt3
-rw-r--r--src/CMakeLists.txt3
-rw-r--r--src/plugins/sensorgestures/qtsensors/CMakeLists.txt3
-rw-r--r--src/plugins/sensorgestures/shake/CMakeLists.txt3
-rw-r--r--src/plugins/sensors/CMakeLists.txt3
-rw-r--r--src/plugins/sensors/android/CMakeLists.txt3
-rw-r--r--src/plugins/sensors/dummy/CMakeLists.txt3
-rw-r--r--src/plugins/sensors/generic/CMakeLists.txt3
-rw-r--r--src/plugins/sensors/iio-sensor-proxy/CMakeLists.txt3
-rw-r--r--src/plugins/sensors/ios/CMakeLists.txt3
-rw-r--r--src/plugins/sensors/sensorfw/CMakeLists.txt3
-rw-r--r--src/plugins/sensors/winrt/CMakeLists.txt3
-rw-r--r--src/sensors/CMakeLists.txt3
-rw-r--r--src/sensors/configure.cmake3
-rw-r--r--src/sensors/doc/snippets/sensorgestures/CMakeLists.txt3
-rw-r--r--src/sensors/doc/snippets/sensors/CMakeLists.txt3
-rw-r--r--src/sensorsquick/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/qml/qml_cpp/CMakeLists.txt3
-rw-r--r--tests/auto/qml/qml_quick/CMakeLists.txt3
-rw-r--r--tests/auto/qsensor/CMakeLists.txt3
-rw-r--r--tests/auto/qsensorgestureplugins/CMakeLists.txt3
-rw-r--r--tests/auto/qsensorgestures/CMakeLists.txt3
-rw-r--r--tests/auto/qsensorgestures/plugins/test1/CMakeLists.txt3
-rw-r--r--tests/auto/qsensorgestures_gestures/CMakeLists.txt3
-rw-r--r--tests/manual/CMakeLists.txt3
-rw-r--r--tests/manual/sensor_explorer/CMakeLists.txt3
-rw-r--r--tests/manual/sensorclerk/CMakeLists.txt3
47 files changed, 141 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 4f6298c..63ba215 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)
diff --git a/cmake/FindSensorfw.cmake b/cmake/FindSensorfw.cmake
index 22f3ee1..3507adc 100644
--- a/cmake/FindSensorfw.cmake
+++ b/cmake/FindSensorfw.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)
if (PKG_CONFIG_FOUND)
pkg_check_modules(Sensorfw sensord-qt5 IMPORTED_TARGET)
diff --git a/config.tests/winrt/CMakeLists.txt b/config.tests/winrt/CMakeLists.txt
index abbddfb..ecc6a88 100644
--- a/config.tests/winrt/CMakeLists.txt
+++ b/config.tests/winrt/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/configure.cmake b/configure.cmake
index 53e3f11..5c9c276 100644
--- a/configure.cmake
+++ b/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/examples/CMakeLists.txt b/examples/CMakeLists.txt
index 8cc93d5..1c5447e 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)
add_subdirectory(sensors)
diff --git a/examples/sensors/CMakeLists.txt b/examples/sensors/CMakeLists.txt
index 6a71bfa..32c6819 100644
--- a/examples/sensors/CMakeLists.txt
+++ b/examples/sensors/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::Quick)
qt_internal_add_example(grue)
qt_internal_add_example(maze)
diff --git a/examples/sensors/accelbubble/CMakeLists.txt b/examples/sensors/accelbubble/CMakeLists.txt
index 83cc07c..da746bd 100644
--- a/examples/sensors/accelbubble/CMakeLists.txt
+++ b/examples/sensors/accelbubble/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(accelbubble LANGUAGES CXX)
diff --git a/examples/sensors/grue/CMakeLists.txt b/examples/sensors/grue/CMakeLists.txt
index 8bdc8d0..55e234c 100644
--- a/examples/sensors/grue/CMakeLists.txt
+++ b/examples/sensors/grue/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(grue_app LANGUAGES CXX)
diff --git a/examples/sensors/grue/console_app/CMakeLists.txt b/examples/sensors/grue/console_app/CMakeLists.txt
index 26c22b6..c7134be 100644
--- a/examples/sensors/grue/console_app/CMakeLists.txt
+++ b/examples/sensors/grue/console_app/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(detect_grue LANGUAGES CXX)
diff --git a/examples/sensors/grue/plugin/CMakeLists.txt b/examples/sensors/grue/plugin/CMakeLists.txt
index 10e554f..26b5d62 100644
--- a/examples/sensors/grue/plugin/CMakeLists.txt
+++ b/examples/sensors/grue/plugin/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(qtsensors_grue LANGUAGES CXX)
diff --git a/examples/sensors/maze/CMakeLists.txt b/examples/sensors/maze/CMakeLists.txt
index c713d31..f833041 100644
--- a/examples/sensors/maze/CMakeLists.txt
+++ b/examples/sensors/maze/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(maze LANGUAGES CXX)
diff --git a/examples/sensors/qmlqtsensors/CMakeLists.txt b/examples/sensors/qmlqtsensors/CMakeLists.txt
index 32d5c1b..6f95ebd 100644
--- a/examples/sensors/qmlqtsensors/CMakeLists.txt
+++ b/examples/sensors/qmlqtsensors/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(qmlqtsensors LANGUAGES CXX)
diff --git a/examples/sensors/qmlsensorgestures/CMakeLists.txt b/examples/sensors/qmlsensorgestures/CMakeLists.txt
index f9c3520..b7c13c9 100644
--- a/examples/sensors/qmlsensorgestures/CMakeLists.txt
+++ b/examples/sensors/qmlsensorgestures/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(qmlsensorgestures LANGUAGES CXX)
diff --git a/examples/sensors/qmlsensorgestures/plugin/CMakeLists.txt b/examples/sensors/qmlsensorgestures/plugin/CMakeLists.txt
index abc405b..480fe22 100644
--- a/examples/sensors/qmlsensorgestures/plugin/CMakeLists.txt
+++ b/examples/sensors/qmlsensorgestures/plugin/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(qtsensorgestures_counterplugin LANGUAGES CXX)
diff --git a/examples/sensors/sensor_explorer/CMakeLists.txt b/examples/sensors/sensor_explorer/CMakeLists.txt
index db0d95d..c0bccf8 100644
--- a/examples/sensors/sensor_explorer/CMakeLists.txt
+++ b/examples/sensors/sensor_explorer/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(sensor_explorer LANGUAGES CXX)
diff --git a/examples/sensors/sensorgestures/CMakeLists.txt b/examples/sensors/sensorgestures/CMakeLists.txt
index 3a56bbc..d7b274a 100644
--- a/examples/sensors/sensorgestures/CMakeLists.txt
+++ b/examples/sensors/sensorgestures/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(gesture LANGUAGES CXX)
diff --git a/examples/sensors/sensorsshowcase/CMakeLists.txt b/examples/sensors/sensorsshowcase/CMakeLists.txt
index adce661..8575af7 100644
--- a/examples/sensors/sensorsshowcase/CMakeLists.txt
+++ b/examples/sensors/sensorsshowcase/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(sensorsshowcase LANGUAGES CXX)
diff --git a/examples/sensors/shakeit/CMakeLists.txt b/examples/sensors/shakeit/CMakeLists.txt
index 769c0f9..b455090 100644
--- a/examples/sensors/shakeit/CMakeLists.txt
+++ b/examples/sensors/shakeit/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(shakeit LANGUAGES CXX)
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 073eaea..566d545 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(sensors)
add_subdirectory(plugins)
if(TARGET Qt::Quick)
diff --git a/src/plugins/sensorgestures/qtsensors/CMakeLists.txt b/src/plugins/sensorgestures/qtsensors/CMakeLists.txt
index dc9730e..08e4d83 100644
--- a/src/plugins/sensorgestures/qtsensors/CMakeLists.txt
+++ b/src/plugins/sensorgestures/qtsensors/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
+
#####################################################################
## QtSensorGesturePlugin Plugin:
#####################################################################
diff --git a/src/plugins/sensorgestures/shake/CMakeLists.txt b/src/plugins/sensorgestures/shake/CMakeLists.txt
index 856a6b5..10dc1d3 100644
--- a/src/plugins/sensorgestures/shake/CMakeLists.txt
+++ b/src/plugins/sensorgestures/shake/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
+
#####################################################################
## QShakeSensorGesturePlugin Plugin:
#####################################################################
diff --git a/src/plugins/sensors/CMakeLists.txt b/src/plugins/sensors/CMakeLists.txt
index 7b11ea7..cd20092 100644
--- a/src/plugins/sensors/CMakeLists.txt
+++ b/src/plugins/sensors/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
+
# all get generic sensor
add_subdirectory(generic)
diff --git a/src/plugins/sensors/android/CMakeLists.txt b/src/plugins/sensors/android/CMakeLists.txt
index 21cb06c..82b1b0b 100644
--- a/src/plugins/sensors/android/CMakeLists.txt
+++ b/src/plugins/sensors/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
+
#####################################################################
## QCounterGesturePlugin Plugin:
#####################################################################
diff --git a/src/plugins/sensors/dummy/CMakeLists.txt b/src/plugins/sensors/dummy/CMakeLists.txt
index 8d001ed..5fa1218 100644
--- a/src/plugins/sensors/dummy/CMakeLists.txt
+++ b/src/plugins/sensors/dummy/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
+
#####################################################################
## dummySensorPlugin Plugin:
#####################################################################
diff --git a/src/plugins/sensors/generic/CMakeLists.txt b/src/plugins/sensors/generic/CMakeLists.txt
index fa2b284..f21dfe9 100644
--- a/src/plugins/sensors/generic/CMakeLists.txt
+++ b/src/plugins/sensors/generic/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
+
#####################################################################
## genericSensorPlugin Plugin:
#####################################################################
diff --git a/src/plugins/sensors/iio-sensor-proxy/CMakeLists.txt b/src/plugins/sensors/iio-sensor-proxy/CMakeLists.txt
index b13e900..4a42902 100644
--- a/src/plugins/sensors/iio-sensor-proxy/CMakeLists.txt
+++ b/src/plugins/sensors/iio-sensor-proxy/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
+
#####################################################################
## IIOSensorProxySensorPlugin Plugin:
#####################################################################
diff --git a/src/plugins/sensors/ios/CMakeLists.txt b/src/plugins/sensors/ios/CMakeLists.txt
index ba60a19..aa47c78 100644
--- a/src/plugins/sensors/ios/CMakeLists.txt
+++ b/src/plugins/sensors/ios/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
+
#####################################################################
## IOSSensorPlugin Plugin:
#####################################################################
diff --git a/src/plugins/sensors/sensorfw/CMakeLists.txt b/src/plugins/sensors/sensorfw/CMakeLists.txt
index edf050e..086c924 100644
--- a/src/plugins/sensors/sensorfw/CMakeLists.txt
+++ b/src/plugins/sensors/sensorfw/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
+
#####################################################################
## sensorfwSensorPlugin Plugin:
#####################################################################
diff --git a/src/plugins/sensors/winrt/CMakeLists.txt b/src/plugins/sensors/winrt/CMakeLists.txt
index 16a6429..d504c44 100644
--- a/src/plugins/sensors/winrt/CMakeLists.txt
+++ b/src/plugins/sensors/winrt/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
+
#####################################################################
## WinRtSensorPlugin Plugin:
#####################################################################
diff --git a/src/sensors/CMakeLists.txt b/src/sensors/CMakeLists.txt
index 9b0ed25..ef1ba85 100644
--- a/src/sensors/CMakeLists.txt
+++ b/src/sensors/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
+
#####################################################################
## Sensors Module:
#####################################################################
diff --git a/src/sensors/configure.cmake b/src/sensors/configure.cmake
index 7779bf0..b05c66e 100644
--- a/src/sensors/configure.cmake
+++ b/src/sensors/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/sensors/doc/snippets/sensorgestures/CMakeLists.txt b/src/sensors/doc/snippets/sensorgestures/CMakeLists.txt
index 3b6942e..03c2395 100644
--- a/src/sensors/doc/snippets/sensorgestures/CMakeLists.txt
+++ b/src/sensors/doc/snippets/sensorgestures/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(sensorgesturessdocsnippet LANGUAGES CXX)
diff --git a/src/sensors/doc/snippets/sensors/CMakeLists.txt b/src/sensors/doc/snippets/sensors/CMakeLists.txt
index abdf53d..9cc90a2 100644
--- a/src/sensors/doc/snippets/sensors/CMakeLists.txt
+++ b/src/sensors/doc/snippets/sensors/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(sensorsdocsnippet LANGUAGES CXX)
diff --git a/src/sensorsquick/CMakeLists.txt b/src/sensorsquick/CMakeLists.txt
index 00aa7b4..d9a6fb5 100644
--- a/src/sensorsquick/CMakeLists.txt
+++ b/src/sensorsquick/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_qml_module(SensorsQuick
URI "QtSensors"
VERSION "${PROJECT_VERSION}"
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index ae5e2f0..f6bc330 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
diff --git a/tests/auto/CMakeLists.txt b/tests/auto/CMakeLists.txt
index 1963e20..42f6ada 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
+
add_subdirectory(qsensor)
add_subdirectory(cmake)
if(TARGET Qt::Quick)
diff --git a/tests/auto/cmake/CMakeLists.txt b/tests/auto/cmake/CMakeLists.txt
index 5c48af7..f3ec24d 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/qml/qml_cpp/CMakeLists.txt b/tests/auto/qml/qml_cpp/CMakeLists.txt
index b03ab37..dca702b 100644
--- a/tests/auto/qml/qml_cpp/CMakeLists.txt
+++ b/tests/auto/qml/qml_cpp/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_sensors_qmlcpp
SOURCES
../../common/test_backends.cpp ../../common/test_backends.h
diff --git a/tests/auto/qml/qml_quick/CMakeLists.txt b/tests/auto/qml/qml_quick/CMakeLists.txt
index 23ef698..1d61124 100644
--- a/tests/auto/qml/qml_quick/CMakeLists.txt
+++ b/tests/auto/qml/qml_quick/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
+
# Collect test data
file(GLOB_RECURSE test_data_glob
RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
diff --git a/tests/auto/qsensor/CMakeLists.txt b/tests/auto/qsensor/CMakeLists.txt
index b773456..b512652 100644
--- a/tests/auto/qsensor/CMakeLists.txt
+++ b/tests/auto/qsensor/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_qsensor Test:
#####################################################################
diff --git a/tests/auto/qsensorgestureplugins/CMakeLists.txt b/tests/auto/qsensorgestureplugins/CMakeLists.txt
index 249415a..89442b4 100644
--- a/tests/auto/qsensorgestureplugins/CMakeLists.txt
+++ b/tests/auto/qsensorgestureplugins/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_qsensorgesturepluginstest Binary:
#####################################################################
diff --git a/tests/auto/qsensorgestures/CMakeLists.txt b/tests/auto/qsensorgestures/CMakeLists.txt
index dc107e3..d99dfa7 100644
--- a/tests/auto/qsensorgestures/CMakeLists.txt
+++ b/tests/auto/qsensorgestures/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_qsensorgesturetest Test:
#####################################################################
diff --git a/tests/auto/qsensorgestures/plugins/test1/CMakeLists.txt b/tests/auto/qsensorgestures/plugins/test1/CMakeLists.txt
index 264b8ea..cfa3f2f 100644
--- a/tests/auto/qsensorgestures/plugins/test1/CMakeLists.txt
+++ b/tests/auto/qsensorgestures/plugins/test1/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
+
#####################################################################
## QTestSensorGestureDupPlugin Plugin:
#####################################################################
diff --git a/tests/auto/qsensorgestures_gestures/CMakeLists.txt b/tests/auto/qsensorgestures_gestures/CMakeLists.txt
index 7707f9d..053c75e 100644
--- a/tests/auto/qsensorgestures_gestures/CMakeLists.txt
+++ b/tests/auto/qsensorgestures_gestures/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_sensorgestures_gestures Test:
#####################################################################
diff --git a/tests/manual/CMakeLists.txt b/tests/manual/CMakeLists.txt
index bc8b1f3..dce2d8c 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::Widgets)
add_subdirectory(sensor_explorer)
endif()
diff --git a/tests/manual/sensor_explorer/CMakeLists.txt b/tests/manual/sensor_explorer/CMakeLists.txt
index 6d6c9c6..b630ca9 100644
--- a/tests/manual/sensor_explorer/CMakeLists.txt
+++ b/tests/manual/sensor_explorer/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
+
#####################################################################
## sensor_explorer Binary:
#####################################################################
diff --git a/tests/manual/sensorclerk/CMakeLists.txt b/tests/manual/sensorclerk/CMakeLists.txt
index cad8574..b872f94 100644
--- a/tests/manual/sensorclerk/CMakeLists.txt
+++ b/tests/manual/sensorclerk/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
+
#####################################################################
## sensorclerk Binary:
#####################################################################