aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorKai Köhne <kai.koehne@qt.io>2022-12-21 10:12:09 +0100
committerKai Köhne <kai.koehne@qt.io>2023-01-06 11:15:13 +0000
commit56baf8c058792187b574cf988fcf4b313f527156 (patch)
treea9bb31e87e9e962f756d8477477785ea7b8fca47 /scripts
parent126d1d009e64bc39529cd1a118ad8c22e9f7fdfe (diff)
Remove GPL-3.0+ from license identifiers
Since we also license under GPL-3.0 WITH Qt-GPL-exception-1.0, this applies only to a hypothetical newer version of GPL, that doesn't exist yet. If such a version emerges, we can still decide to relicense... While at it, replace (deprecated) GPL-3.0 with more explicit GPL-3.0-only Change was done by running find . -type f -exec perl -pi -e "s/LicenseRef-Qt-Commercial OR GPL-3.0\+ OR GPL-3.0 WITH Qt-GPL-exception-1.0/LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0/g" {} \; Change-Id: I5097e6ce8d10233993ee30d7e25120e2659eb10b Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/generateClangFormatChecksLayout.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/generateClangFormatChecksLayout.py b/scripts/generateClangFormatChecksLayout.py
index f29743d566..e604e4d0f7 100755
--- a/scripts/generateClangFormatChecksLayout.py
+++ b/scripts/generateClangFormatChecksLayout.py
@@ -18,7 +18,7 @@ def parse_arguments():
def full_header_content(header_code):
return '''// Copyright (C) 2022 The Qt Company Ltd.
-// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
// THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT!
@@ -54,7 +54,7 @@ private:
def full_source_content(source_code, layout_code):
return '''// Copyright (C) 2022 The Qt Company Ltd.
-// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
// THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT!