Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
6.2.0 Beta2
-
None
Description
Trying to directly load package Qt6LinguistTools fails:
cmake_minimum_required(VERSION 3.14) project(qtbug-95791 LANGUAGES CXX) find_package(Qt6LinguistTools)
Running CMake fails with
CMake Error at C:/Qt/6.2.0/msvc2019_64/lib/cmake/Qt6LinguistTools/Qt6LinguistToolsConfig.cmake:50 (__qt_internal_promote_target_to_global):
Unknown CMake command "__qt_internal_promote_target_to_global".
Call Stack (most recent call first):
CMakeLists.txt:5 (find_package)