Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
6.9
-
None
-
00b28640a (6.9)
Description
Using the following CMake code
cmake_minimum_required(VERSION 3.25) find_package(Qt6Tools CONFIG REQUIRED) find_package(Qt6 COMPONENTS ToolsTools CONFIG REQUIRED)
fails with
CMake Error at /home/nico/kde/usr/lib64/cmake/Qt6/Qt6Config.cmake:222 (get_target_property): get_target_property() called with non-existent target "Qt6::ToolsTools". Call Stack (most recent call first): CMakeLists.txt:4 (find_package)
but it was working until very recently.
Tested with current 6.9 branch (qtbase b4ac56aa3a7d2c9536e6c8bc816939a2a36b5493)
Bisect suggests https://codereview.qt-project.org/c/qt/qtbase/+/647196 causes this.