qt 6.5.1 original

This commit is contained in:
kleuter
2023-10-29 23:33:08 +01:00
parent 71d22ab6b0
commit 85d238dfda
21202 changed files with 5499099 additions and 0 deletions

View File

@ -0,0 +1,23 @@
# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: BSD-3-Clause
cmake_minimum_required(VERSION 3.16)
project(test_umbrella_config)
add_subdirectory(components_found)
if (Qt6_FOUND)
message(SEND_ERROR "Qt6_FOUND variable leaked!")
endif()
if (Qt6Core_FOUND)
message(SEND_ERROR "Qt6Core_FOUND variable leaked!")
endif()
if (TARGET Qt6::Core)
message(SEND_ERROR "Qt6::Core target leaked!")
endif()
add_subdirectory(components_not_found)

View File

@ -0,0 +1,21 @@
# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: BSD-3-Clause
# The module finds its dependencies
find_package(Qt6 6.0.0
COMPONENTS Core
OPTIONAL_COMPONENTS DoesNotExist
)
if (NOT Qt6_FOUND)
message(SEND_ERROR "Qt6 umbrella package not found!")
endif()
if (NOT Qt6Core_FOUND)
message(SEND_ERROR "Qt6Core package not found!")
endif()
if (Qt6DoesNotExist_FOUND)
message(SEND_ERROR "Non-existent package found!")
endif()

View File

@ -0,0 +1,20 @@
# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: BSD-3-Clause
# The module finds its dependencies
find_package(Qt6
COMPONENTS Core DoesNotExist
)
if (Qt6_FOUND)
message(SEND_ERROR "Qt6 umbrella package found, though it should not be!")
endif()
if (NOT Qt6Core_FOUND)
message(SEND_ERROR "Qt6Core package not found!")
endif()
if (Qt6DoesNotExist_FOUND)
message(SEND_ERROR "Non-existent package found!")
endif()