From 9ce5709fb1b4e5d563ea1d90a6cf1fc6e365d3d9 Mon Sep 17 00:00:00 2001 From: Joerg Bornemann Date: Thu, 14 Jul 2022 17:23:15 +0200 Subject: CMake: Support big resources in qt_add_resources [ChangeLog][CMake] The target-based variant of qt6_add_resource gained the option BIG_RESOURCES. This can be used instead of qt6_add_big_resources, which is not target-based. Fixes: QTBUG-100268 Change-Id: Ib3fa783cbfbfd10f59c2f952bc88508a91f25e26 Reviewed-by: Alexandru Croitor --- .../cmake/test_add_resources_big_resources/intermediate_lib.h | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 tests/auto/cmake/test_add_resources_big_resources/intermediate_lib.h (limited to 'tests/auto/cmake/test_add_resources_big_resources/intermediate_lib.h') diff --git a/tests/auto/cmake/test_add_resources_big_resources/intermediate_lib.h b/tests/auto/cmake/test_add_resources_big_resources/intermediate_lib.h new file mode 100644 index 0000000000..614ebd1abc --- /dev/null +++ b/tests/auto/cmake/test_add_resources_big_resources/intermediate_lib.h @@ -0,0 +1,9 @@ +// Copyright (C) 2022 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0 + +#pragma once + +namespace intermediate_lib { +bool isLeafLibResourceAvailable(); +bool isResourceAvailable(); +} //namespace -- cgit v1.2.3