Details
-
Bug
-
Resolution: Duplicate
-
Not Evaluated
-
None
-
6.2.0
-
None
-
Windows 10 + MSVC 2019 C++ compilation tools
Description
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.
Attachments
Issue Links
- duplicates
-
QTBUG-95391 [REG] WrapVulkanHeaders::WrapVulkanHeaders not found on system without Vulkan development package
- Closed