This patch adds a std::expected-like type in Qt for use in the Qt implementation. It is using Sy Brand's tl::expected which is similar to std::expected, and works with C++17. Although it closely resembles std::expected, it is not identical and is therefor added as a private header. The new type is intended to be accessible to all Qt modules and is therefore made available through Qt Core. It is, however, not intended for use in public APIs. [ChangeLog][Third-Party Code] Added Sy Brand's tl::expected as a third party dependency for use internally in Qt implementation. Change-Id: I09930f31bf97498643d62814c688f288d5c33265 Reviewed-by: Tim Blechmann <tim.blechmann@qt.io>
120 lines
5.0 KiB
TOML
120 lines
5.0 KiB
TOML
version = 1
|
|
|
|
[[annotations]]
|
|
path = ["tests/auto/opengl/CMakeLists.txt",
|
|
"tests/benchmarks/widgets/graphicsview/functional/CMakeLists.txt"]
|
|
precedence = "closest"
|
|
SPDX-FileCopyrightText = "Copyright (C) 20242 The Qt Company Ltd."
|
|
SPDX-License-Identifier = "BSD-3-Clause"
|
|
|
|
[[annotations]]
|
|
path = ["**tools/**", "util/**", "doc/global/template/scripts/extras.js",
|
|
"doc/global/template/scripts/main.js"]
|
|
precedence = "closest"
|
|
SPDX-FileCopyrightText = "Copyright (C) 2024 The Qt Company Ltd."
|
|
SPDX-License-Identifier = "LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0"
|
|
|
|
[[annotations]]
|
|
path = ["tests/**"]
|
|
precedence = "closest"
|
|
SPDX-FileCopyrightText = "Copyright (C) 2024 The Qt Company Ltd."
|
|
SPDX-License-Identifier = "LicenseRef-Qt-Commercial OR GPL-3.0-only"
|
|
|
|
[[annotations]]
|
|
path = ["bin/*", "coin/**","libexec/*","**_clang-format", "**.cmake", "**.conf", "**.cmake.in",
|
|
"**.prf", "libexec/qt-internal-configure-*", "config.tests/.qmake.conf",
|
|
"**.pro", "**.pri", "**.yaml", "cmake/**.in", "cmake/ios/LaunchScreen.storyboard",
|
|
"cmake/**md", "**.yml", "**.dynlist", "cmake/**.plist",
|
|
"src/corelib/global/qconfig.cpp.in", "src/corelib/Qt6CoreConfigureFileTemplate.in",
|
|
"**.cfg", "**/Makefile", "**/CMakeLists.txt", "**.qrc", ".tag"]
|
|
precedence = "closest"
|
|
comment = "build system"
|
|
SPDX-FileCopyrightText = "Copyright (C) 2024 The Qt Company Ltd."
|
|
SPDX-License-Identifier = "BSD-3-Clause"
|
|
|
|
[[annotations]]
|
|
path = ["**PrivacyInfo.xcprivacy"]
|
|
precedence = "closest"
|
|
SPDX-FileCopyrightText = "Copyright (C) 2024 The Qt Company Ltd."
|
|
SPDX-License-Identifier = "CC0-1.0"
|
|
|
|
[[annotations]]
|
|
path = ["**/.gitattributes", "**.gitignore", "**.gitreview"]
|
|
precedence = "closest"
|
|
SPDX-FileCopyrightText = "Copyright (C) 2024 The Qt Company Ltd."
|
|
SPDX-License-Identifier = "LicenseRef-Qt-Commercial OR BSD-3-Clause"
|
|
|
|
[[annotations]]
|
|
path = ["**/snippets/**", "examples/**", "src/tools/qlalr/examples/**"]
|
|
comment = "this must be after the build system table because example and snippets take precedence over build system"
|
|
precedence = "closest"
|
|
SPDX-FileCopyrightText = "Copyright (C) 2024 The Qt Company Ltd."
|
|
SPDX-License-Identifier = "LicenseRef-Qt-Commercial OR BSD-3-Clause"
|
|
|
|
[[annotations]]
|
|
path = ["tests/manual/examples/**", "**/snippets/**"]
|
|
precedence = "closest"
|
|
SPDX-FileCopyrightText = "Copyright (C) 2024 The Qt Company Ltd."
|
|
SPDX-License-Identifier = "LicenseRef-Qt-Commercial OR BSD-3-Clause"
|
|
|
|
[[annotations]]
|
|
path = ["**/README*", "src/plugins/**/README*", "examples/**/README*", "tests/**/README*",
|
|
"src/widgets/doc/snippets/common-table-model/README", "cmake/README.md",
|
|
"lib/README", "coin/instructions/README.md", "src/3rdparty/README",
|
|
"**.qdocconf", "**.qdocinc", "config_help.txt",
|
|
"doc/global/template/style/*", "**/doc/**/images/**"]
|
|
comment = "documentation"
|
|
precedence = "closest"
|
|
SPDX-FileCopyrightText = "Copyright (C) 2024 The Qt Company Ltd."
|
|
SPDX-License-Identifier = "LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only"
|
|
|
|
[[annotations]]
|
|
path = ["src/corelib/global/patches/tlexpected/**", "src/corelib/global/qexpected_p.h"]
|
|
precedence = "closest"
|
|
SPDX-FileCopyrightText = "To the extent possible under law, Sy Brand has waived all copyright and related or neighboring rights to the expected library. This work is published from: United Kingdom."
|
|
SPDX-License-Identifier = "CC0-1.0"
|
|
|
|
[[annotations]]
|
|
path = ["src/gui/doc/snippets/textdocument-images/images.qrc"]
|
|
precedence = "closest"
|
|
comment = "falls under **/doc/**/images/**, which is wrong"
|
|
SPDX-FileCopyrightText = "Copyright (C) 2024 The Qt Company Ltd."
|
|
SPDX-License-Identifier = "LicenseRef-Qt-Commercial OR BSD-3-Clause"
|
|
|
|
[[annotations]]
|
|
path = ["src/assets/icons/**.png", "src/assets/icons/**.svg", "src/android/**.xml",
|
|
"src/gui/**.xml",
|
|
"src/assets/icons/index.theme", "src/gui/rhi/test.hlsl",
|
|
"src/corelib/doc/include/QtCoreDoc",
|
|
"src/gui/doc/includes/QtGuiDoc",
|
|
"src/opengl/doc/QtOpenGLDoc"]
|
|
precedence = "closest"
|
|
SPDX-FileCopyrightText = "Copyright (C) 2024 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"
|
|
|
|
[[annotations]]
|
|
path = ["tests/auto/tools/rcc/data/legal/legal.qrc"]
|
|
precedence = "override"
|
|
comment = "license in file not referring to the file itself"
|
|
SPDX-FileCopyrightText = "Copyright (C) 2024 The Qt Company Ltd."
|
|
SPDX-License-Identifier = "BSD-3-Clause"
|
|
|
|
[[annotations]]
|
|
path = ["**/qt_attribution.json"]
|
|
precedence = "override"
|
|
SPDX-FileCopyrightText = "Copyright (C) 2024 The Qt Company Ltd."
|
|
SPDX-License-Identifier = "LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only"
|
|
|
|
[[annotations]]
|
|
path = ["**.toml", "licenseRule.json"]
|
|
precedence = "override"
|
|
SPDX-FileCopyrightText = "Copyright (C) 2024 The Qt Company Ltd."
|
|
SPDX-License-Identifier = "LicenseRef-Qt-Commercial OR BSD-3-Clause"
|
|
|
|
[[annotations]]
|
|
path = ["**LICENSE*", "cmake/3rdparty/**/COPYING-CMAKE-SCRIPTS"]
|
|
precedence = "override"
|
|
comment = "License file."
|
|
SPDX-FileCopyrightText = "None"
|
|
SPDX-License-Identifier = "CC0-1.0"
|