Remove commercial SPDX-License-Identifier from build files

The build files should not include a commercial SPDX-License-Identifier.
Instead, a BSD-3-Clause license identifier is used.

Task-number: QTQAINFRA-5900
Change-Id: Ia9476c3ad57b6c161ac583813fe8dacf876f7b5a
Reviewed-by: Tatiana Borisova <tatiana.borisova@qt.io>
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
This commit is contained in:
Tarja Sundqvist 2023-11-22 12:56:15 +02:00
parent da447bb8d2
commit 675e4c9515
21 changed files with 21 additions and 21 deletions

View File

@ -1,5 +1,5 @@
# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: LicenseRef-Qt-Commercial
# SPDX-License-Identifier: BSD-3-Clause
cmake_minimum_required(VERSION 3.16)

View File

@ -1,5 +1,5 @@
# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: LicenseRef-Qt-Commercial
# SPDX-License-Identifier: BSD-3-Clause
if(TARGET WrapProtobuf::WrapLibProtoc)
set(WrapProtobuf_FOUND TRUE)

View File

@ -1,5 +1,5 @@
# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: LicenseRef-Qt-Commercial
# SPDX-License-Identifier: BSD-3-Clause
if(TARGET WrapProtoc::WrapProtoc)
set(WrapProtoc_FOUND TRUE)

View File

@ -1,5 +1,5 @@
# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: LicenseRef-Qt-Commercial
# SPDX-License-Identifier: BSD-3-Clause
if(TARGET WrapgRPC::WrapLibgRPC)
set(WrapgRPC_FOUND TRUE)

View File

@ -1,5 +1,5 @@
# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: LicenseRef-Qt-Commercial
# SPDX-License-Identifier: BSD-3-Clause
if(TARGET WrapgRPC::WrapgRPCPlugin)
set(WrapgRPCPlugin_FOUND TRUE)

View File

@ -1,5 +1,5 @@
# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: LicenseRef-Qt-Commercial
# SPDX-License-Identifier: BSD-3-Clause
qt_extra_definition("QT_VERSION_STR" "\"${PROJECT_VERSION}\"" PUBLIC)
qt_extra_definition("QT_VERSION_MAJOR" ${PROJECT_VERSION_MAJOR} PUBLIC)

View File

@ -1,4 +1,4 @@
# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: LicenseRef-Qt-Commercial
# SPDX-License-Identifier: BSD-3-Clause
qt_commandline_subconfig(src/protobuf)

View File

@ -1,5 +1,5 @@
# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: LicenseRef-Qt-Commercial
# SPDX-License-Identifier: BSD-3-Clause
# Evaluate features before including repository subparts.
qt_feature_evaluate_features("${CMAKE_CURRENT_SOURCE_DIR}/protobuf/configure.cmake")

View File

@ -1,5 +1,5 @@
# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: LicenseRef-Qt-Commercial
# SPDX-License-Identifier: BSD-3-Clause
qt_internal_add_module(Grpc
SOURCES

View File

@ -1,5 +1,5 @@
# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: LicenseRef-Qt-Commercial
# SPDX-License-Identifier: BSD-3-Clause
qt_find_package(WrapgRPC
PROVIDED_TARGETS WrapgRPC::WrapLibgRPC

View File

@ -1,5 +1,5 @@
# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: LicenseRef-Qt-Commercial
# SPDX-License-Identifier: BSD-3-Clause
qt_internal_add_module(Protobuf
SOURCES

View File

@ -1,5 +1,5 @@
# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: LicenseRef-Qt-Commercial
# SPDX-License-Identifier: BSD-3-Clause
set(__qt_protobuf_build_internals_base_dir "${CMAKE_CURRENT_LIST_DIR}" CACHE INTERNAL "")
macro(qt_internal_get_internal_add_protobuf_module_keywords option_args single_args multi_args)

View File

@ -1,5 +1,5 @@
# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: LicenseRef-Qt-Commercial
# SPDX-License-Identifier: BSD-3-Clause
qt_find_package(WrapProtobuf
PROVIDED_TARGETS

View File

@ -1,5 +1,5 @@
# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: LicenseRef-Qt-Commercial
# SPDX-License-Identifier: BSD-3-Clause
# Skip building qtprotoccommon when not building tools
if((QT_FEATURE_qtprotobufgen OR QT_FEATURE_qtgrpcgen) AND

View File

@ -1,5 +1,5 @@
# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: LicenseRef-Qt-Commercial
# SPDX-License-Identifier: BSD-3-Clause
cmake_minimum_required(VERSION 3.16)

View File

@ -1,5 +1,5 @@
# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: LicenseRef-Qt-Commercial
# SPDX-License-Identifier: BSD-3-Clause
qt_get_tool_target_name(target_name qtgrpcgen)
qt_internal_add_tool(${target_name}

View File

@ -1,5 +1,5 @@
# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: LicenseRef-Qt-Commercial
# SPDX-License-Identifier: BSD-3-Clause
# The function looks for the service definitions inside provided PROTO_FILES and returns list of
# the absolute .proto file paths, protobuf include paths and files that are expected to be generated

View File

@ -1,5 +1,5 @@
# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: LicenseRef-Qt-Commercial
# SPDX-License-Identifier: BSD-3-Clause
qt_get_tool_target_name(target_name qtprotobufgen)
qt_internal_add_tool(${target_name}

View File

@ -1,5 +1,5 @@
# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: LicenseRef-Qt-Commercial
# SPDX-License-Identifier: BSD-3-Clause
set(__qt_protobuf_macros_module_base_dir "${CMAKE_CURRENT_LIST_DIR}" CACHE INTERNAL "")

View File

@ -1,6 +1,6 @@
#!${CMAKE_COMMAND} -P
# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: LicenseRef-Qt-Commercial
# SPDX-License-Identifier: BSD-3-Clause
if(GENERATOR_NAME EQUAL "qtgrpc")
set(ENV{QT_GRPC_OPTIONS} "${QT_GRPC_OPTIONS}")

View File

@ -1,5 +1,5 @@
# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: LicenseRef-Qt-Commercial
# SPDX-License-Identifier: BSD-3-Clause
qt_add_library(QtProtocCommon STATIC
qtprotocdefs.h