Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
3.0.2, 3.1.0 (rev.02)
-
Windows 11 23H2
MSVS2022
-
24dd1df6a (dev), 899d3e090 (dev)
Description
- Configure the Qt VS Tools to use Qt 5.
I used Qt 5.15.16 x64 from the official Online Installer. - Create a new CMake-based Qt Quick Application project using the wizard.
CMake generation fails:Severity Code Description Project File Line Suppression State Details Error CMake Error at QtQuickApplication10/qt.cmake:14 (add_executable): Cannot find source file: qml.qrc Tried extensions .c .C .c++ .cc .cpp .cxx .cu .mpp .m .M .mm .ixx .cppm .ccm .cxxm .c++m .h .hh .h++ .hm .hpp .hxx .in .txx .f .F .for .f77 .f90 .f95 .f03 .hip .ispc D:\tmp\msvs\QtQuickApplication10\QtQuickApplication10/qt.cmake 14
That source file is not there, indeed.
With Qt 6.6.1, creating and building such a project works fine.
Found when extending Squish test tst_new_project_file_creation.