Priority: Not Evaluated
Affects Version/s: 6.2.0
Fix Version/s: None
Component/s: Build System: CMake
Environment:Windows 10 + MSVC 2019 C++ compilation tools
Steps to reproduce:
- Install Qt with 6.2.0 (beta2) and MSVC 2019 compiler tools.
- Create a new file, select Qt Quick Application
- Select build tool to be CMake instead of qmake
- Try to run the app
- Compilation fails with trace:
C:\Qt\6.2.0\msvc2019_64\lib\cmake\Qt6Core\Qt6CoreMacros.cmake:523: error: Target "sample1" links to target "WrapVulkanHeaders::WrapVulkanHeaders" but the target was not found. Perhaps a find_package() call is missing for an IMPORTED target, or an ALIAS target is missing? C:/Qt/6.2.0/msvc2019_64/lib/cmake/Qt6Core/Qt6CoreMacros.cmake:488 (_qt_internal_create_executable) C:/Qt/6.2.0/msvc2019_64/lib/cmake/Qt6Core/Qt6CoreMacros.cmake:754 (qt6_add_executable) CMakeLists.txt:36 (qt_add_executable)
Expected result: application works ok.