summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLucie Gérard <lucie.gerard@qt.io>2022-08-22 16:19:07 +0200
committerLucie Gérard <lucie.gerard@qt.io>2022-08-23 15:45:56 +0200
commitdd4392c57df7a2f47e71052f15bb5e8956aa58e1 (patch)
tree8f3788b82cf14c2caf86e281b6895ed56122405b
parenta201d22486798881fe561a417862b66cda1b5088 (diff)
Change the license of all CMakeLists.txt and *.cmake files to BSD
Task-number: QTBUG-105718 Change-Id: I31c9b88ff5d23016fe8844d711553b010d9ba46e Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
-rw-r--r--CMakeLists.txt2
-rw-r--r--cmake/QtRepoSetup.cmake2
-rw-r--r--configure.cmake2
-rw-r--r--examples/CMakeLists.txt2
-rw-r--r--examples/scxml/CMakeLists.txt2
-rw-r--r--examples/scxml/calculator-qml/CMakeLists.txt2
-rw-r--r--examples/scxml/calculator-widgets/CMakeLists.txt2
-rw-r--r--examples/scxml/ftpclient/CMakeLists.txt2
-rw-r--r--examples/scxml/invoke-dynamic/CMakeLists.txt2
-rw-r--r--examples/scxml/invoke-static/CMakeLists.txt2
-rw-r--r--examples/scxml/mediaplayer-qml-cppdatamodel/CMakeLists.txt2
-rw-r--r--examples/scxml/mediaplayer-qml-dynamic/CMakeLists.txt2
-rw-r--r--examples/scxml/mediaplayer-qml-static/CMakeLists.txt2
-rw-r--r--examples/scxml/mediaplayer-widgets-dynamic/CMakeLists.txt2
-rw-r--r--examples/scxml/mediaplayer-widgets-static/CMakeLists.txt2
-rw-r--r--examples/scxml/pinball/CMakeLists.txt2
-rw-r--r--examples/scxml/sudoku/CMakeLists.txt2
-rw-r--r--examples/scxml/trafficlight-qml-dynamic/CMakeLists.txt2
-rw-r--r--examples/scxml/trafficlight-qml-simple/CMakeLists.txt2
-rw-r--r--examples/scxml/trafficlight-qml-static/CMakeLists.txt2
-rw-r--r--examples/scxml/trafficlight-widgets-dynamic/CMakeLists.txt2
-rw-r--r--examples/scxml/trafficlight-widgets-static/CMakeLists.txt2
-rw-r--r--examples/statemachine/CMakeLists.txt2
-rw-r--r--examples/statemachine/animation/CMakeLists.txt2
-rw-r--r--examples/statemachine/animation/animatedtiles/CMakeLists.txt2
-rw-r--r--examples/statemachine/animation/moveblocks/CMakeLists.txt2
-rw-r--r--examples/statemachine/animation/states/CMakeLists.txt2
-rw-r--r--examples/statemachine/animation/stickman/CMakeLists.txt2
-rw-r--r--examples/statemachine/animation/sub-attaq/CMakeLists.txt2
-rw-r--r--examples/statemachine/graphicsview/padnavigator/CMakeLists.txt2
-rw-r--r--examples/statemachine/statemachine/CMakeLists.txt2
-rw-r--r--examples/statemachine/statemachine/eventtransitions/CMakeLists.txt2
-rw-r--r--examples/statemachine/statemachine/factorial/CMakeLists.txt2
-rw-r--r--examples/statemachine/statemachine/pingpong/CMakeLists.txt2
-rw-r--r--examples/statemachine/statemachine/rogue/CMakeLists.txt2
-rw-r--r--examples/statemachine/statemachine/trafficlight/CMakeLists.txt2
-rw-r--r--examples/statemachine/statemachine/twowaybutton/CMakeLists.txt2
-rw-r--r--src/CMakeLists.txt2
-rw-r--r--src/plugins/CMakeLists.txt2
-rw-r--r--src/plugins/ecmascriptdatamodel/CMakeLists.txt2
-rw-r--r--src/scxml/CMakeLists.txt2
-rw-r--r--src/scxml/Qt5ScxmlConfigExtras.cmake.in2
-rw-r--r--src/scxml/Qt6ScxmlMacros.cmake2
-rw-r--r--src/scxml/configure.cmake2
-rw-r--r--src/scxmlqml/CMakeLists.txt2
-rw-r--r--src/statemachine/CMakeLists.txt2
-rw-r--r--src/statemachine/configure.cmake2
-rw-r--r--src/statemachineqml/CMakeLists.txt2
-rw-r--r--tests/CMakeLists.txt2
-rw-r--r--tests/auto/CMakeLists.txt2
-rw-r--r--tests/auto/cmake/CMakeLists.txt2
-rw-r--r--tests/auto/cmake/test_qtscxml_module/CMakeLists.txt2
-rw-r--r--tests/auto/compiled/CMakeLists.txt2
-rw-r--r--tests/auto/dynamicmetaobject/CMakeLists.txt2
-rw-r--r--tests/auto/parser/CMakeLists.txt2
-rw-r--r--tests/auto/qml/CMakeLists.txt2
-rw-r--r--tests/auto/qml/qqmlstatemachine/CMakeLists.txt2
-rw-r--r--tests/auto/qml/qqmlstatemachinemetatype/CMakeLists.txt2
-rw-r--r--tests/auto/qml/scxmlqmlcpp/CMakeLists.txt2
-rw-r--r--tests/auto/qmltest/CMakeLists.txt2
-rw-r--r--tests/auto/qmltest/scxml/CMakeLists.txt2
-rw-r--r--tests/auto/qmltest/statemachine/CMakeLists.txt2
-rw-r--r--tests/auto/qstatemachine/CMakeLists.txt2
-rw-r--r--tests/auto/qstatemachine/qstate/CMakeLists.txt2
-rw-r--r--tests/auto/qstatemachine/qstatemachine/CMakeLists.txt2
-rw-r--r--tests/auto/scion/CMakeLists.txt2
-rw-r--r--tests/auto/scxmlcoutput/CMakeLists.txt2
-rw-r--r--tests/auto/scxmlcoutput/arguments/CMakeLists.txt2
-rw-r--r--tests/auto/scxmlcoutput/default/CMakeLists.txt2
-rw-r--r--tests/auto/scxmlcoutput/namespace/CMakeLists.txt2
-rw-r--r--tests/auto/scxmlcoutput/path/CMakeLists.txt2
-rw-r--r--tests/auto/statemachine/CMakeLists.txt2
-rw-r--r--tests/auto/statemachineinfo/CMakeLists.txt2
-rw-r--r--tests/manual/cppgen/CMakeLists.txt2
-rw-r--r--tests/manual/testCpp/CMakeLists.txt2
-rw-r--r--tools/CMakeLists.txt2
-rw-r--r--tools/qscxmlc/CMakeLists.txt2
77 files changed, 77 insertions, 77 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 22cbaf8..aadb7cc 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,5 +1,5 @@
# Copyright (C) 2022 The Qt Company Ltd.
-# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+# SPDX-License-Identifier: BSD-3-Clause
cmake_minimum_required(VERSION 3.16)
diff --git a/cmake/QtRepoSetup.cmake b/cmake/QtRepoSetup.cmake
index adbecbf..400ad2e 100644
--- a/cmake/QtRepoSetup.cmake
+++ b/cmake/QtRepoSetup.cmake
@@ -1,5 +1,5 @@
# Copyright (C) 2022 The Qt Company Ltd.
-# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+# SPDX-License-Identifier: BSD-3-Clause
function(add_qt_statecharts target)
# Don't try to add statecharts when cross compiling, and the target is actually a host target
diff --git a/configure.cmake b/configure.cmake
index 5c9c276..68f54ce 100644
--- a/configure.cmake
+++ b/configure.cmake
@@ -1,5 +1,5 @@
# Copyright (C) 2022 The Qt Company Ltd.
-# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+# SPDX-License-Identifier: BSD-3-Clause
diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt
index f765b17..077ff51 100644
--- a/examples/CMakeLists.txt
+++ b/examples/CMakeLists.txt
@@ -1,5 +1,5 @@
# Copyright (C) 2022 The Qt Company Ltd.
-# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
+# SPDX-License-Identifier: BSD-3-Clause
qt_examples_build_begin(EXTERNAL_BUILD)
diff --git a/examples/scxml/CMakeLists.txt b/examples/scxml/CMakeLists.txt
index 088c8f2..6b0ce37 100644
--- a/examples/scxml/CMakeLists.txt
+++ b/examples/scxml/CMakeLists.txt
@@ -1,5 +1,5 @@
# Copyright (C) 2022 The Qt Company Ltd.
-# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
+# SPDX-License-Identifier: BSD-3-Clause
if (TARGET Qt::Network AND QT_FEATURE_scxml_ecmascriptdatamodel)
qt_internal_add_example(ftpclient)
diff --git a/examples/scxml/calculator-qml/CMakeLists.txt b/examples/scxml/calculator-qml/CMakeLists.txt
index e9e3a61..700a9d0 100644
--- a/examples/scxml/calculator-qml/CMakeLists.txt
+++ b/examples/scxml/calculator-qml/CMakeLists.txt
@@ -1,5 +1,5 @@
# Copyright (C) 2022 The Qt Company Ltd.
-# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
+# SPDX-License-Identifier: BSD-3-Clause
cmake_minimum_required(VERSION 3.16)
project(calculator-qml LANGUAGES CXX)
diff --git a/examples/scxml/calculator-widgets/CMakeLists.txt b/examples/scxml/calculator-widgets/CMakeLists.txt
index 861a07e..43e35a9 100644
--- a/examples/scxml/calculator-widgets/CMakeLists.txt
+++ b/examples/scxml/calculator-widgets/CMakeLists.txt
@@ -1,5 +1,5 @@
# Copyright (C) 2022 The Qt Company Ltd.
-# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
+# SPDX-License-Identifier: BSD-3-Clause
cmake_minimum_required(VERSION 3.16)
project(calculator-widgets LANGUAGES CXX)
diff --git a/examples/scxml/ftpclient/CMakeLists.txt b/examples/scxml/ftpclient/CMakeLists.txt
index 9c1c13e..bac0db7 100644
--- a/examples/scxml/ftpclient/CMakeLists.txt
+++ b/examples/scxml/ftpclient/CMakeLists.txt
@@ -1,5 +1,5 @@
# Copyright (C) 2022 The Qt Company Ltd.
-# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
+# SPDX-License-Identifier: BSD-3-Clause
cmake_minimum_required(VERSION 3.16)
project(ftpclient LANGUAGES CXX)
diff --git a/examples/scxml/invoke-dynamic/CMakeLists.txt b/examples/scxml/invoke-dynamic/CMakeLists.txt
index 4b4460d..25cd67f 100644
--- a/examples/scxml/invoke-dynamic/CMakeLists.txt
+++ b/examples/scxml/invoke-dynamic/CMakeLists.txt
@@ -1,5 +1,5 @@
# Copyright (C) 2022 The Qt Company Ltd.
-# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
+# SPDX-License-Identifier: BSD-3-Clause
cmake_minimum_required(VERSION 3.16)
project(invoke-dynamic LANGUAGES CXX)
diff --git a/examples/scxml/invoke-static/CMakeLists.txt b/examples/scxml/invoke-static/CMakeLists.txt
index b33259b..4ffea42 100644
--- a/examples/scxml/invoke-static/CMakeLists.txt
+++ b/examples/scxml/invoke-static/CMakeLists.txt
@@ -1,5 +1,5 @@
# Copyright (C) 2022 The Qt Company Ltd.
-# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
+# SPDX-License-Identifier: BSD-3-Clause
cmake_minimum_required(VERSION 3.16)
project(invoke-static LANGUAGES CXX)
diff --git a/examples/scxml/mediaplayer-qml-cppdatamodel/CMakeLists.txt b/examples/scxml/mediaplayer-qml-cppdatamodel/CMakeLists.txt
index d1be15b..d276626 100644
--- a/examples/scxml/mediaplayer-qml-cppdatamodel/CMakeLists.txt
+++ b/examples/scxml/mediaplayer-qml-cppdatamodel/CMakeLists.txt
@@ -1,5 +1,5 @@
# Copyright (C) 2022 The Qt Company Ltd.
-# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
+# SPDX-License-Identifier: BSD-3-Clause
cmake_minimum_required(VERSION 3.16)
project(mediaplayer-qml-cppdatamodel LANGUAGES CXX)
diff --git a/examples/scxml/mediaplayer-qml-dynamic/CMakeLists.txt b/examples/scxml/mediaplayer-qml-dynamic/CMakeLists.txt
index 37e430b..f262e6e 100644
--- a/examples/scxml/mediaplayer-qml-dynamic/CMakeLists.txt
+++ b/examples/scxml/mediaplayer-qml-dynamic/CMakeLists.txt
@@ -1,5 +1,5 @@
# Copyright (C) 2022 The Qt Company Ltd.
-# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
+# SPDX-License-Identifier: BSD-3-Clause
cmake_minimum_required(VERSION 3.16)
project(mediaplayer-qml-dynamic LANGUAGES CXX)
diff --git a/examples/scxml/mediaplayer-qml-static/CMakeLists.txt b/examples/scxml/mediaplayer-qml-static/CMakeLists.txt
index 4f052e0..8bd63c2 100644
--- a/examples/scxml/mediaplayer-qml-static/CMakeLists.txt
+++ b/examples/scxml/mediaplayer-qml-static/CMakeLists.txt
@@ -1,5 +1,5 @@
# Copyright (C) 2022 The Qt Company Ltd.
-# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
+# SPDX-License-Identifier: BSD-3-Clause
cmake_minimum_required(VERSION 3.16)
project(mediaplayer-qml-static LANGUAGES CXX)
diff --git a/examples/scxml/mediaplayer-widgets-dynamic/CMakeLists.txt b/examples/scxml/mediaplayer-widgets-dynamic/CMakeLists.txt
index f549c1f..09963fb 100644
--- a/examples/scxml/mediaplayer-widgets-dynamic/CMakeLists.txt
+++ b/examples/scxml/mediaplayer-widgets-dynamic/CMakeLists.txt
@@ -1,5 +1,5 @@
# Copyright (C) 2022 The Qt Company Ltd.
-# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
+# SPDX-License-Identifier: BSD-3-Clause
cmake_minimum_required(VERSION 3.16)
project(mediaplayer-widgets-dynamic LANGUAGES CXX)
diff --git a/examples/scxml/mediaplayer-widgets-static/CMakeLists.txt b/examples/scxml/mediaplayer-widgets-static/CMakeLists.txt
index 551ac71..8b1f1dd 100644
--- a/examples/scxml/mediaplayer-widgets-static/CMakeLists.txt
+++ b/examples/scxml/mediaplayer-widgets-static/CMakeLists.txt
@@ -1,5 +1,5 @@
# Copyright (C) 2022 The Qt Company Ltd.
-# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
+# SPDX-License-Identifier: BSD-3-Clause
cmake_minimum_required(VERSION 3.16)
project(mediaplayer-widgets-static LANGUAGES CXX)
diff --git a/examples/scxml/pinball/CMakeLists.txt b/examples/scxml/pinball/CMakeLists.txt
index 3c9da3c..e80c9dd 100644
--- a/examples/scxml/pinball/CMakeLists.txt
+++ b/examples/scxml/pinball/CMakeLists.txt
@@ -1,5 +1,5 @@
# Copyright (C) 2022 The Qt Company Ltd.
-# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
+# SPDX-License-Identifier: BSD-3-Clause
cmake_minimum_required(VERSION 3.16)
project(pinball LANGUAGES CXX)
diff --git a/examples/scxml/sudoku/CMakeLists.txt b/examples/scxml/sudoku/CMakeLists.txt
index 646e8f8..43131da 100644
--- a/examples/scxml/sudoku/CMakeLists.txt
+++ b/examples/scxml/sudoku/CMakeLists.txt
@@ -1,5 +1,5 @@
# Copyright (C) 2022 The Qt Company Ltd.
-# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
+# SPDX-License-Identifier: BSD-3-Clause
cmake_minimum_required(VERSION 3.16)
project(sudoku LANGUAGES CXX)
diff --git a/examples/scxml/trafficlight-qml-dynamic/CMakeLists.txt b/examples/scxml/trafficlight-qml-dynamic/CMakeLists.txt
index 2c40ee7..83aee77 100644
--- a/examples/scxml/trafficlight-qml-dynamic/CMakeLists.txt
+++ b/examples/scxml/trafficlight-qml-dynamic/CMakeLists.txt
@@ -1,5 +1,5 @@
# Copyright (C) 2022 The Qt Company Ltd.
-# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
+# SPDX-License-Identifier: BSD-3-Clause
cmake_minimum_required(VERSION 3.16)
project(trafficlight-qml-dynamic LANGUAGES CXX)
diff --git a/examples/scxml/trafficlight-qml-simple/CMakeLists.txt b/examples/scxml/trafficlight-qml-simple/CMakeLists.txt
index fa36334..511766a 100644
--- a/examples/scxml/trafficlight-qml-simple/CMakeLists.txt
+++ b/examples/scxml/trafficlight-qml-simple/CMakeLists.txt
@@ -1,5 +1,5 @@
# Copyright (C) 2022 The Qt Company Ltd.
-# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
+# SPDX-License-Identifier: BSD-3-Clause
cmake_minimum_required(VERSION 3.16)
project(trafficlight-qml-simple LANGUAGES CXX)
diff --git a/examples/scxml/trafficlight-qml-static/CMakeLists.txt b/examples/scxml/trafficlight-qml-static/CMakeLists.txt
index abecad8..4950dc6 100644
--- a/examples/scxml/trafficlight-qml-static/CMakeLists.txt
+++ b/examples/scxml/trafficlight-qml-static/CMakeLists.txt
@@ -1,5 +1,5 @@
# Copyright (C) 2022 The Qt Company Ltd.
-# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
+# SPDX-License-Identifier: BSD-3-Clause
cmake_minimum_required(VERSION 3.16)
project(trafficlight-qml-static LANGUAGES CXX)
diff --git a/examples/scxml/trafficlight-widgets-dynamic/CMakeLists.txt b/examples/scxml/trafficlight-widgets-dynamic/CMakeLists.txt
index 3721429..a97ad83 100644
--- a/examples/scxml/trafficlight-widgets-dynamic/CMakeLists.txt
+++ b/examples/scxml/trafficlight-widgets-dynamic/CMakeLists.txt
@@ -1,5 +1,5 @@
# Copyright (C) 2022 The Qt Company Ltd.
-# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
+# SPDX-License-Identifier: BSD-3-Clause
cmake_minimum_required(VERSION 3.16)
project(trafficlight-widgets-dynamic LANGUAGES CXX)
diff --git a/examples/scxml/trafficlight-widgets-static/CMakeLists.txt b/examples/scxml/trafficlight-widgets-static/CMakeLists.txt
index 5f60563..a306152 100644
--- a/examples/scxml/trafficlight-widgets-static/CMakeLists.txt
+++ b/examples/scxml/trafficlight-widgets-static/CMakeLists.txt
@@ -1,5 +1,5 @@
# Copyright (C) 2022 The Qt Company Ltd.
-# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
+# SPDX-License-Identifier: BSD-3-Clause
cmake_minimum_required(VERSION 3.16)
project(trafficlight-widgets-static LANGUAGES CXX)
diff --git a/examples/statemachine/CMakeLists.txt b/examples/statemachine/CMakeLists.txt
index 0f8012a..635f58b 100644
--- a/examples/statemachine/CMakeLists.txt
+++ b/examples/statemachine/CMakeLists.txt
@@ -1,5 +1,5 @@
# Copyright (C) 2022 The Qt Company Ltd.
-# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
+# SPDX-License-Identifier: BSD-3-Clause
add_subdirectory(statemachine)
diff --git a/examples/statemachine/animation/CMakeLists.txt b/examples/statemachine/animation/CMakeLists.txt
index bf215be..ec24679 100644
--- a/examples/statemachine/animation/CMakeLists.txt
+++ b/examples/statemachine/animation/CMakeLists.txt
@@ -1,5 +1,5 @@
# Copyright (C) 2022 The Qt Company Ltd.
-# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
+# SPDX-License-Identifier: BSD-3-Clause
qt_internal_add_example(animatedtiles)
qt_internal_add_example(moveblocks)
diff --git a/examples/statemachine/animation/animatedtiles/CMakeLists.txt b/examples/statemachine/animation/animatedtiles/CMakeLists.txt
index c7691de..423b18f 100644
--- a/examples/statemachine/animation/animatedtiles/CMakeLists.txt
+++ b/examples/statemachine/animation/animatedtiles/CMakeLists.txt
@@ -1,5 +1,5 @@
# Copyright (C) 2022 The Qt Company Ltd.
-# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
+# SPDX-License-Identifier: BSD-3-Clause
cmake_minimum_required(VERSION 3.16)
project(animatedtiles LANGUAGES CXX)
diff --git a/examples/statemachine/animation/moveblocks/CMakeLists.txt b/examples/statemachine/animation/moveblocks/CMakeLists.txt
index 2f68945..a4ac7e1 100644
--- a/examples/statemachine/animation/moveblocks/CMakeLists.txt
+++ b/examples/statemachine/animation/moveblocks/CMakeLists.txt
@@ -1,5 +1,5 @@
# Copyright (C) 2022 The Qt Company Ltd.
-# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
+# SPDX-License-Identifier: BSD-3-Clause
cmake_minimum_required(VERSION 3.16)
project(moveblocks LANGUAGES CXX)
diff --git a/examples/statemachine/animation/states/CMakeLists.txt b/examples/statemachine/animation/states/CMakeLists.txt
index e573777..c6cf648 100644
--- a/examples/statemachine/animation/states/CMakeLists.txt
+++ b/examples/statemachine/animation/states/CMakeLists.txt
@@ -1,5 +1,5 @@
# Copyright (C) 2022 The Qt Company Ltd.
-# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
+# SPDX-License-Identifier: BSD-3-Clause
cmake_minimum_required(VERSION 3.16)
project(states LANGUAGES CXX)
diff --git a/examples/statemachine/animation/stickman/CMakeLists.txt b/examples/statemachine/animation/stickman/CMakeLists.txt
index 29270bf..cb874c1 100644
--- a/examples/statemachine/animation/stickman/CMakeLists.txt
+++ b/examples/statemachine/animation/stickman/CMakeLists.txt
@@ -1,5 +1,5 @@
# Copyright (C) 2022 The Qt Company Ltd.
-# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
+# SPDX-License-Identifier: BSD-3-Clause
cmake_minimum_required(VERSION 3.16)
project(stickman LANGUAGES CXX)
diff --git a/examples/statemachine/animation/sub-attaq/CMakeLists.txt b/examples/statemachine/animation/sub-attaq/CMakeLists.txt
index 700a13e..cd57065 100644
--- a/examples/statemachine/animation/sub-attaq/CMakeLists.txt
+++ b/examples/statemachine/animation/sub-attaq/CMakeLists.txt
@@ -1,5 +1,5 @@
# Copyright (C) 2022 The Qt Company Ltd.
-# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
+# SPDX-License-Identifier: BSD-3-Clause
cmake_minimum_required(VERSION 3.16)
project(sub-attaq LANGUAGES CXX)
diff --git a/examples/statemachine/graphicsview/padnavigator/CMakeLists.txt b/examples/statemachine/graphicsview/padnavigator/CMakeLists.txt
index 461cebb..2fc2587 100644
--- a/examples/statemachine/graphicsview/padnavigator/CMakeLists.txt
+++ b/examples/statemachine/graphicsview/padnavigator/CMakeLists.txt
@@ -1,5 +1,5 @@
# Copyright (C) 2022 The Qt Company Ltd.
-# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
+# SPDX-License-Identifier: BSD-3-Clause
cmake_minimum_required(VERSION 3.16)
project(padnavigator LANGUAGES CXX)
diff --git a/examples/statemachine/statemachine/CMakeLists.txt b/examples/statemachine/statemachine/CMakeLists.txt
index 7bc9855..a2d3194 100644
--- a/examples/statemachine/statemachine/CMakeLists.txt
+++ b/examples/statemachine/statemachine/CMakeLists.txt
@@ -1,5 +1,5 @@
# Copyright (C) 2022 The Qt Company Ltd.
-# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
+# SPDX-License-Identifier: BSD-3-Clause
qt_internal_add_example(factorial)
qt_internal_add_example(pingpong)
diff --git a/examples/statemachine/statemachine/eventtransitions/CMakeLists.txt b/examples/statemachine/statemachine/eventtransitions/CMakeLists.txt
index 6cb2790..5cac4b3 100644
--- a/examples/statemachine/statemachine/eventtransitions/CMakeLists.txt
+++ b/examples/statemachine/statemachine/eventtransitions/CMakeLists.txt
@@ -1,5 +1,5 @@
# Copyright (C) 2022 The Qt Company Ltd.
-# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
+# SPDX-License-Identifier: BSD-3-Clause
cmake_minimum_required(VERSION 3.16)
project(eventtransitions LANGUAGES CXX)
diff --git a/examples/statemachine/statemachine/factorial/CMakeLists.txt b/examples/statemachine/statemachine/factorial/CMakeLists.txt
index ad32ca1..bafc671 100644
--- a/examples/statemachine/statemachine/factorial/CMakeLists.txt
+++ b/examples/statemachine/statemachine/factorial/CMakeLists.txt
@@ -1,5 +1,5 @@
# Copyright (C) 2022 The Qt Company Ltd.
-# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
+# SPDX-License-Identifier: BSD-3-Clause
cmake_minimum_required(VERSION 3.16)
project(factorial LANGUAGES CXX)
diff --git a/examples/statemachine/statemachine/pingpong/CMakeLists.txt b/examples/statemachine/statemachine/pingpong/CMakeLists.txt
index c8983b1..4810bf2 100644
--- a/examples/statemachine/statemachine/pingpong/CMakeLists.txt
+++ b/examples/statemachine/statemachine/pingpong/CMakeLists.txt
@@ -1,5 +1,5 @@
# Copyright (C) 2022 The Qt Company Ltd.
-# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
+# SPDX-License-Identifier: BSD-3-Clause
cmake_minimum_required(VERSION 3.16)
project(pingpong LANGUAGES CXX)
diff --git a/examples/statemachine/statemachine/rogue/CMakeLists.txt b/examples/statemachine/statemachine/rogue/CMakeLists.txt
index 88589ca..922aa96 100644
--- a/examples/statemachine/statemachine/rogue/CMakeLists.txt
+++ b/examples/statemachine/statemachine/rogue/CMakeLists.txt
@@ -1,5 +1,5 @@
# Copyright (C) 2022 The Qt Company Ltd.
-# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
+# SPDX-License-Identifier: BSD-3-Clause
cmake_minimum_required(VERSION 3.16)
project(rogue LANGUAGES CXX)
diff --git a/examples/statemachine/statemachine/trafficlight/CMakeLists.txt b/examples/statemachine/statemachine/trafficlight/CMakeLists.txt
index 548feaa..e566324 100644
--- a/examples/statemachine/statemachine/trafficlight/CMakeLists.txt
+++ b/examples/statemachine/statemachine/trafficlight/CMakeLists.txt
@@ -1,5 +1,5 @@
# Copyright (C) 2022 The Qt Company Ltd.
-# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
+# SPDX-License-Identifier: BSD-3-Clause
cmake_minimum_required(VERSION 3.16)
project(trafficlight LANGUAGES CXX)
diff --git a/examples/statemachine/statemachine/twowaybutton/CMakeLists.txt b/examples/statemachine/statemachine/twowaybutton/CMakeLists.txt
index ad6cd16..d88f454 100644
--- a/examples/statemachine/statemachine/twowaybutton/CMakeLists.txt
+++ b/examples/statemachine/statemachine/twowaybutton/CMakeLists.txt
@@ -1,5 +1,5 @@
# Copyright (C) 2022 The Qt Company Ltd.
-# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
+# SPDX-License-Identifier: BSD-3-Clause
cmake_minimum_required(VERSION 3.16)
project(twowaybutton LANGUAGES CXX)
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 6d7e6b7..5fbfbd9 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -1,5 +1,5 @@
# Copyright (C) 2022 The Qt Company Ltd.
-# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+# SPDX-License-Identifier: BSD-3-Clause
add_subdirectory(scxml)
diff --git a/src/plugins/CMakeLists.txt b/src/plugins/CMakeLists.txt
index 1da3981..71256c5 100644
--- a/src/plugins/CMakeLists.txt
+++ b/src/plugins/CMakeLists.txt
@@ -1,5 +1,5 @@
# Copyright (C) 2022 The Qt Company Ltd.
-# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+# SPDX-License-Identifier: BSD-3-Clause
if(QT_FEATURE_scxml_ecmascriptdatamodel)
add_subdirectory(ecmascriptdatamodel)
diff --git a/src/plugins/ecmascriptdatamodel/CMakeLists.txt b/src/plugins/ecmascriptdatamodel/CMakeLists.txt
index 15260b4..7babe22 100644
--- a/src/plugins/ecmascriptdatamodel/CMakeLists.txt
+++ b/src/plugins/ecmascriptdatamodel/CMakeLists.txt
@@ -1,5 +1,5 @@
# Copyright (C) 2022 The Qt Company Ltd.
-# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+# SPDX-License-Identifier: BSD-3-Clause
#####################################################################
## EcmaScript SCXML DataModel Plugin:
diff --git a/src/scxml/CMakeLists.txt b/src/scxml/CMakeLists.txt
index be15451..9bbf03f 100644
--- a/src/scxml/CMakeLists.txt
+++ b/src/scxml/CMakeLists.txt
@@ -1,5 +1,5 @@
# Copyright (C) 2022 The Qt Company Ltd.
-# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+# SPDX-License-Identifier: BSD-3-Clause
#####################################################################
diff --git a/src/scxml/Qt5ScxmlConfigExtras.cmake.in b/src/scxml/Qt5ScxmlConfigExtras.cmake.in
index d1a3bd9..716c64e 100644
--- a/src/scxml/Qt5ScxmlConfigExtras.cmake.in
+++ b/src/scxml/Qt5ScxmlConfigExtras.cmake.in
@@ -1,5 +1,5 @@
# Copyright (C) 2016 Klaralvdalens Datakonsult AB (KDAB).
-# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+# SPDX-License-Identifier: BSD-3-Clause
add_executable(Qt5::qscxmlc IMPORTED)
!!IF isEmpty(CMAKE_BIN_DIR_IS_ABSOLUTE)
diff --git a/src/scxml/Qt6ScxmlMacros.cmake b/src/scxml/Qt6ScxmlMacros.cmake
index caca1b6..409e944 100644
--- a/src/scxml/Qt6ScxmlMacros.cmake
+++ b/src/scxml/Qt6ScxmlMacros.cmake
@@ -1,6 +1,6 @@
# Copyright (C) 2016 Klaralvdalens Datakonsult AB (KDAB).
# Copyright (C) 2022 The Qt Company Ltd.
-# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+# SPDX-License-Identifier: BSD-3-Clause
function(qt6_add_statecharts target_or_outfiles)
set(options)
diff --git a/src/scxml/configure.cmake b/src/scxml/configure.cmake
index a3697e5..55fc1d5 100644
--- a/src/scxml/configure.cmake
+++ b/src/scxml/configure.cmake
@@ -1,5 +1,5 @@
# Copyright (C) 2022 The Qt Company Ltd.
-# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+# SPDX-License-Identifier: BSD-3-Clause
diff --git a/src/scxmlqml/CMakeLists.txt b/src/scxmlqml/CMakeLists.txt
index e3d936f..d252274 100644
--- a/src/scxmlqml/CMakeLists.txt
+++ b/src/scxmlqml/CMakeLists.txt
@@ -1,5 +1,5 @@
# Copyright (C) 2022 The Qt Company Ltd.
-# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+# SPDX-License-Identifier: BSD-3-Clause
qt_internal_include_in_repo_target_set(qtscxmlqml)
diff --git a/src/statemachine/CMakeLists.txt b/src/statemachine/CMakeLists.txt
index 6501b32..6e1a716 100644
--- a/src/statemachine/CMakeLists.txt
+++ b/src/statemachine/CMakeLists.txt
@@ -1,5 +1,5 @@
# Copyright (C) 2022 The Qt Company Ltd.
-# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+# SPDX-License-Identifier: BSD-3-Clause
#####################################################################
diff --git a/src/statemachine/configure.cmake b/src/statemachine/configure.cmake
index 52bb521..c6cda82 100644
--- a/src/statemachine/configure.cmake
+++ b/src/statemachine/configure.cmake
@@ -1,5 +1,5 @@
# Copyright (C) 2022 The Qt Company Ltd.
-# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+# SPDX-License-Identifier: BSD-3-Clause
diff --git a/src/statemachineqml/CMakeLists.txt b/src/statemachineqml/CMakeLists.txt
index 6382e4b..4da4590 100644
--- a/src/statemachineqml/CMakeLists.txt
+++ b/src/statemachineqml/CMakeLists.txt
@@ -1,5 +1,5 @@
# Copyright (C) 2022 The Qt Company Ltd.
-# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+# SPDX-License-Identifier: BSD-3-Clause
qt_internal_include_in_repo_target_set(qtstatemachineqml)
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index f6bc330..c82db08 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -1,5 +1,5 @@
# Copyright (C) 2022 The Qt Company Ltd.
-# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+# SPDX-License-Identifier: BSD-3-Clause
if(QT_BUILD_STANDALONE_TESTS)
diff --git a/tests/auto/CMakeLists.txt b/tests/auto/CMakeLists.txt
index 40502d4..f350d5a 100644
--- a/tests/auto/CMakeLists.txt
+++ b/tests/auto/CMakeLists.txt
@@ -1,5 +1,5 @@
# Copyright (C) 2022 The Qt Company Ltd.
-# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+# SPDX-License-Identifier: BSD-3-Clause
add_subdirectory(scxmlcoutput)
diff --git a/tests/auto/cmake/CMakeLists.txt b/tests/auto/cmake/CMakeLists.txt
index 88e031c..272ff7d 100644
--- a/tests/auto/cmake/CMakeLists.txt
+++ b/tests/auto/cmake/CMakeLists.txt
@@ -1,5 +1,5 @@
# Copyright (C) 2022 The Qt Company Ltd.
-# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+# SPDX-License-Identifier: BSD-3-Clause
# This is an automatic test for the CMake configuration files.
# To run it manually,
diff --git a/tests/auto/cmake/test_qtscxml_module/CMakeLists.txt b/tests/auto/cmake/test_qtscxml_module/CMakeLists.txt
index 384c2b9..ae9efdb 100644
--- a/tests/auto/cmake/test_qtscxml_module/CMakeLists.txt
+++ b/tests/auto/cmake/test_qtscxml_module/CMakeLists.txt
@@ -1,5 +1,5 @@
# Copyright (C) 2022 The Qt Company Ltd.
-# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+# SPDX-License-Identifier: BSD-3-Clause
cmake_minimum_required(VERSION 3.16)
diff --git a/tests/auto/compiled/CMakeLists.txt b/tests/auto/compiled/CMakeLists.txt
index b8e32cb..04d9525 100644
--- a/tests/auto/compiled/CMakeLists.txt
+++ b/tests/auto/compiled/CMakeLists.txt
@@ -1,5 +1,5 @@
# Copyright (C) 2022 The Qt Company Ltd.
-# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+# SPDX-License-Identifier: BSD-3-Clause
#####################################################################
diff --git a/tests/auto/dynamicmetaobject/CMakeLists.txt b/tests/auto/dynamicmetaobject/CMakeLists.txt
index 1e5e280..517ee12 100644
--- a/tests/auto/dynamicmetaobject/CMakeLists.txt
+++ b/tests/auto/dynamicmetaobject/CMakeLists.txt
@@ -1,5 +1,5 @@
# Copyright (C) 2022 The Qt Company Ltd.
-# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+# SPDX-License-Identifier: BSD-3-Clause
#####################################################################
diff --git a/tests/auto/parser/CMakeLists.txt b/tests/auto/parser/CMakeLists.txt
index 4f96bb6..d441703 100644
--- a/tests/auto/parser/CMakeLists.txt
+++ b/tests/auto/parser/CMakeLists.txt
@@ -1,5 +1,5 @@
# Copyright (C) 2022 The Qt Company Ltd.
-# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+# SPDX-License-Identifier: BSD-3-Clause
#####################################################################
diff --git a/tests/auto/qml/CMakeLists.txt b/tests/auto/qml/CMakeLists.txt
index 8cbd4c5..03f01ab 100644
--- a/tests/auto/qml/CMakeLists.txt
+++ b/tests/auto/qml/CMakeLists.txt
@@ -1,5 +1,5 @@
# Copyright (C) 2022 The Qt Company Ltd.
-# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+# SPDX-License-Identifier: BSD-3-Clause
if(TARGET Qt::StateMachineQml)
add_subdirectory(qqmlstatemachine)
diff --git a/tests/auto/qml/qqmlstatemachine/CMakeLists.txt b/tests/auto/qml/qqmlstatemachine/CMakeLists.txt
index a32e208..16a9970 100644
--- a/tests/auto/qml/qqmlstatemachine/CMakeLists.txt
+++ b/tests/auto/qml/qqmlstatemachine/CMakeLists.txt
@@ -1,5 +1,5 @@
# Copyright (C) 2022 The Qt Company Ltd.
-# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+# SPDX-License-Identifier: BSD-3-Clause
#####################################################################
diff --git a/tests/auto/qml/qqmlstatemachinemetatype/CMakeLists.txt b/tests/auto/qml/qqmlstatemachinemetatype/CMakeLists.txt
index 9fad83e..e7da045 100644
--- a/tests/auto/qml/qqmlstatemachinemetatype/CMakeLists.txt
+++ b/tests/auto/qml/qqmlstatemachinemetatype/CMakeLists.txt
@@ -1,5 +1,5 @@
# Copyright (C) 2022 The Qt Company Ltd.
-# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+# SPDX-License-Identifier: BSD-3-Clause
#####################################################################
## tst_qqmlstatemachinemetatype Test:
diff --git a/tests/auto/qml/scxmlqmlcpp/CMakeLists.txt b/tests/auto/qml/scxmlqmlcpp/CMakeLists.txt
index 466602c..88fe525 100644
--- a/tests/auto/qml/scxmlqmlcpp/CMakeLists.txt
+++ b/tests/auto/qml/scxmlqmlcpp/CMakeLists.txt
@@ -1,5 +1,5 @@
# Copyright (C) 2022 The Qt Company Ltd.
-# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+# SPDX-License-Identifier: BSD-3-Clause
# Collect test data
file(GLOB_RECURSE test_data_glob
diff --git a/tests/auto/qmltest/CMakeLists.txt b/tests/auto/qmltest/CMakeLists.txt
index ee7ea8c..c580fde 100644
--- a/tests/auto/qmltest/CMakeLists.txt
+++ b/tests/auto/qmltest/CMakeLists.txt
@@ -1,5 +1,5 @@
# Copyright (C) 2022 The Qt Company Ltd.
-# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+# SPDX-License-Identifier: BSD-3-Clause
if(TARGET Qt::StateMachineQml)
add_subdirectory(statemachine)
diff --git a/tests/auto/qmltest/scxml/CMakeLists.txt b/tests/auto/qmltest/scxml/CMakeLists.txt
index a3c9499..72ebdc9 100644
--- a/tests/auto/qmltest/scxml/CMakeLists.txt
+++ b/tests/auto/qmltest/scxml/CMakeLists.txt
@@ -1,5 +1,5 @@
# Copyright (C) 2022 The Qt Company Ltd.
-# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+# SPDX-License-Identifier: BSD-3-Clause
# Collect test data
file(GLOB_RECURSE test_data_glob
diff --git a/tests/auto/qmltest/statemachine/CMakeLists.txt b/tests/auto/qmltest/statemachine/CMakeLists.txt
index 4366cba..c4a0bc4 100644
--- a/tests/auto/qmltest/statemachine/CMakeLists.txt
+++ b/tests/auto/qmltest/statemachine/CMakeLists.txt
@@ -1,5 +1,5 @@
# Copyright (C) 2022 The Qt Company Ltd.
-# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+# SPDX-License-Identifier: BSD-3-Clause
# Collect test data
file(GLOB_RECURSE test_data_glob
diff --git a/tests/auto/qstatemachine/CMakeLists.txt b/tests/auto/qstatemachine/CMakeLists.txt
index 4545e73..0841afe 100644
--- a/tests/auto/qstatemachine/CMakeLists.txt
+++ b/tests/auto/qstatemachine/CMakeLists.txt
@@ -1,5 +1,5 @@
# Copyright (C) 2022 The Qt Company Ltd.
-# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+# SPDX-License-Identifier: BSD-3-Clause
if (QT_FEATURE_qeventtransition)
diff --git a/tests/auto/qstatemachine/qstate/CMakeLists.txt b/tests/auto/qstatemachine/qstate/CMakeLists.txt
index 7f52804..6fb9f08 100644
--- a/tests/auto/qstatemachine/qstate/CMakeLists.txt
+++ b/tests/auto/qstatemachine/qstate/CMakeLists.txt
@@ -1,5 +1,5 @@
# Copyright (C) 2022 The Qt Company Ltd.
-# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+# SPDX-License-Identifier: BSD-3-Clause
#####################################################################
diff --git a/tests/auto/qstatemachine/qstatemachine/CMakeLists.txt b/tests/auto/qstatemachine/qstatemachine/CMakeLists.txt
index 2e99b36..3631ad1 100644
--- a/tests/auto/qstatemachine/qstatemachine/CMakeLists.txt
+++ b/tests/auto/qstatemachine/qstatemachine/CMakeLists.txt
@@ -1,5 +1,5 @@
# Copyright (C) 2022 The Qt Company Ltd.
-# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+# SPDX-License-Identifier: BSD-3-Clause
#####################################################################
diff --git a/tests/auto/scion/CMakeLists.txt b/tests/auto/scion/CMakeLists.txt
index 614a0bc..048e851 100644
--- a/tests/auto/scion/CMakeLists.txt
+++ b/tests/auto/scion/CMakeLists.txt
@@ -1,5 +1,5 @@
# Copyright (C) 2022 The Qt Company Ltd.
-# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+# SPDX-License-Identifier: BSD-3-Clause
#####################################################################
## tst_scion Test:
diff --git a/tests/auto/scxmlcoutput/CMakeLists.txt b/tests/auto/scxmlcoutput/CMakeLists.txt
index c3db010..40a8844 100644
--- a/tests/auto/scxmlcoutput/CMakeLists.txt
+++ b/tests/auto/scxmlcoutput/CMakeLists.txt
@@ -1,5 +1,5 @@
# Copyright (C) 2022 The Qt Company Ltd.
-# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+# SPDX-License-Identifier: BSD-3-Clause
if (TARGET Qt::Scxml)
add_subdirectory(default)
diff --git a/tests/auto/scxmlcoutput/arguments/CMakeLists.txt b/tests/auto/scxmlcoutput/arguments/CMakeLists.txt
index 1c97033..325a665 100644
--- a/tests/auto/scxmlcoutput/arguments/CMakeLists.txt
+++ b/tests/auto/scxmlcoutput/arguments/CMakeLists.txt
@@ -1,5 +1,5 @@
# Copyright (C) 2022 The Qt Company Ltd.
-# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+# SPDX-License-Identifier: BSD-3-Clause
qt_internal_add_test(tst_scxmlcoutput_arguments
SOURCES
diff --git a/tests/auto/scxmlcoutput/default/CMakeLists.txt b/tests/auto/scxmlcoutput/default/CMakeLists.txt
index 2d66174..5b57a3a 100644
--- a/tests/auto/scxmlcoutput/default/CMakeLists.txt
+++ b/tests/auto/scxmlcoutput/default/CMakeLists.txt
@@ -1,5 +1,5 @@
# Copyright (C) 2022 The Qt Company Ltd.
-# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+# SPDX-License-Identifier: BSD-3-Clause
qt_internal_add_test(tst_scxmlcoutput_default
SOURCES
diff --git a/tests/auto/scxmlcoutput/namespace/CMakeLists.txt b/tests/auto/scxmlcoutput/namespace/CMakeLists.txt
index 7a7383b..81c4ed6 100644
--- a/tests/auto/scxmlcoutput/namespace/CMakeLists.txt
+++ b/tests/auto/scxmlcoutput/namespace/CMakeLists.txt
@@ -1,5 +1,5 @@
# Copyright (C) 2022 The Qt Company Ltd.
-# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+# SPDX-License-Identifier: BSD-3-Clause
qt_internal_add_test(tst_scxmlcoutput_namespace
SOURCES
diff --git a/tests/auto/scxmlcoutput/path/CMakeLists.txt b/tests/auto/scxmlcoutput/path/CMakeLists.txt
index e3616c9..1f05452 100644
--- a/tests/auto/scxmlcoutput/path/CMakeLists.txt
+++ b/tests/auto/scxmlcoutput/path/CMakeLists.txt
@@ -1,5 +1,5 @@
# Copyright (C) 2022 The Qt Company Ltd.
-# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+# SPDX-License-Identifier: BSD-3-Clause
qt_internal_add_test(tst_scxmlcoutput_path
SOURCES
diff --git a/tests/auto/statemachine/CMakeLists.txt b/tests/auto/statemachine/CMakeLists.txt
index 4bf5ab9..6231f4d 100644
--- a/tests/auto/statemachine/CMakeLists.txt
+++ b/tests/auto/statemachine/CMakeLists.txt
@@ -1,5 +1,5 @@
# Copyright (C) 2022 The Qt Company Ltd.
-# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+# SPDX-License-Identifier: BSD-3-Clause
#####################################################################
diff --git a/tests/auto/statemachineinfo/CMakeLists.txt b/tests/auto/statemachineinfo/CMakeLists.txt
index 930eda0..85d9fc8 100644
--- a/tests/auto/statemachineinfo/CMakeLists.txt
+++ b/tests/auto/statemachineinfo/CMakeLists.txt
@@ -1,5 +1,5 @@
# Copyright (C) 2022 The Qt Company Ltd.
-# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+# SPDX-License-Identifier: BSD-3-Clause
#####################################################################
diff --git a/tests/manual/cppgen/CMakeLists.txt b/tests/manual/cppgen/CMakeLists.txt
index dd38162..b0f0a86 100644
--- a/tests/manual/cppgen/CMakeLists.txt
+++ b/tests/manual/cppgen/CMakeLists.txt
@@ -1,5 +1,5 @@
# Copyright (C) 2022 The Qt Company Ltd.
-# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+# SPDX-License-Identifier: BSD-3-Clause
#####################################################################
## tst_cppgen Tool:
diff --git a/tests/manual/testCpp/CMakeLists.txt b/tests/manual/testCpp/CMakeLists.txt
index c2e2b30..8336094 100644
--- a/tests/manual/testCpp/CMakeLists.txt
+++ b/tests/manual/testCpp/CMakeLists.txt
@@ -1,5 +1,5 @@
# Copyright (C) 2022 The Qt Company Ltd.
-# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+# SPDX-License-Identifier: BSD-3-Clause
#####################################################################
## testCpp Tool:
diff --git a/tools/CMakeLists.txt b/tools/CMakeLists.txt
index c15db64..c5831a4 100644
--- a/tools/CMakeLists.txt
+++ b/tools/CMakeLists.txt
@@ -1,5 +1,5 @@
# Copyright (C) 2022 The Qt Company Ltd.
-# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+# SPDX-License-Identifier: BSD-3-Clause
if(QT_FEATURE_commandlineparser)
diff --git a/tools/qscxmlc/CMakeLists.txt b/tools/qscxmlc/CMakeLists.txt
index c3e7d02..7e20fc2 100644
--- a/tools/qscxmlc/CMakeLists.txt
+++ b/tools/qscxmlc/CMakeLists.txt
@@ -1,5 +1,5 @@
# Copyright (C) 2022 The Qt Company Ltd.
-# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+# SPDX-License-Identifier: BSD-3-Clause
#####################################################################
## qscxmlc Tool: