diff options
author | Alexandru Croitor <[email protected]> | 2025-06-19 09:28:56 +0200 |
---|---|---|
committer | Alexandru Croitor <[email protected]> | 2025-06-19 17:46:13 +0200 |
commit | 0ce82b78a35026cb56ff76d1c24b311008934a53 (patch) | |
tree | d7163632f11a1e5d843fba0ae0e605219a4fa17e /tests/manual | |
parent | eed5ce3d346b19faded2b7e7fcdc6cae6b39957c (diff) |
Revert "CMake: Annotate some qt_find_package calls with MODULE"
This breaks reconfiguring Qt in various ways, one of which is
CMake Error at cmake/QtTargetHelpers.cmake:1557 (message):
PkgConfig::ATSPI2 is not a valid target.
This happens because pkg_check_modules sets ATSPI2_FOUND to 1, so
qt_find_package thinks it shouldn't find the FindATSPI2.cmake module,
which ends up not creating the ATSPI2 target.
This reverts commit f1a59e974f013fcf8629d8cbacab58d895523100.
Pick-to: 6.10
Fixes: QTBUG-137870
Change-Id: Ica74a236c6b1bb9d7ca9af29175cb2e84a93251b
Reviewed-by: Fabian Kosmale <[email protected]>
Reviewed-by: Joerg Bornemann <[email protected]>
Diffstat (limited to 'tests/manual')
-rw-r--r-- | tests/manual/xembed/gtk-container/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/manual/xembed/gtk-container/CMakeLists.txt b/tests/manual/xembed/gtk-container/CMakeLists.txt index 88373d99cd5..34a802c1426 100644 --- a/tests/manual/xembed/gtk-container/CMakeLists.txt +++ b/tests/manual/xembed/gtk-container/CMakeLists.txt @@ -1,8 +1,8 @@ # Copyright (C) 2024 The Qt Company Ltd. # SPDX-License-Identifier: BSD-3-Clause -qt_find_package(GTK3 MODULE) -qt_find_package(X11 MODULE) +qt_find_package(GTK3) +qt_find_package(X11) ##################################################################### ## gtk-container Binary: |