Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
6.8.0 Beta2
-
None
Description
A fair amount of projects and default examples are failing to build after updating the Kit Version from Qt 6.8.0 Beta 1 to Qt 6.8.0 Beta 2.
The problem seems to be related to generating the qmlcache_loader.
Here is one example stack trace:
15:49:17: Running steps for project dialcontrol... 15:49:17: Starting: "C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" --build C:/Qt/Examples/Qt-6.8.0/quick/customitems/dialcontrol/build/Desktop_Qt_6_9_0_MSVC2022_64bit-Release --target all [1/29 4,7/sec] Copying Dial.qml to C:/Qt/Examples/Qt-6.8.0/quick/customitems/dialcontrol/build/Desktop_Qt_6_9_0_MSVC2022_64bit-Release/dialcontrol/Dial.qml [2/29 7,7/sec] Copying QuitButton.qml to C:/Qt/Examples/Qt-6.8.0/quick/customitems/dialcontrol/build/Desktop_Qt_6_9_0_MSVC2022_64bit-Release/dialcontrol/QuitButton.qml [3/29 10,6/sec] Copying dialcontrol.qml to C:/Qt/Examples/Qt-6.8.0/quick/customitems/dialcontrol/build/Desktop_Qt_6_9_0_MSVC2022_64bit-Release/dialcontrol/dialcontrol.qml [4/29 13,0/sec] Copying background.png to C:/Qt/Examples/Qt-6.8.0/quick/customitems/dialcontrol/build/Desktop_Qt_6_9_0_MSVC2022_64bit-Release/dialcontrol/background.png [5/29 14,8/sec] Copying needle.png to C:/Qt/Examples/Qt-6.8.0/quick/customitems/dialcontrol/build/Desktop_Qt_6_9_0_MSVC2022_64bit-Release/dialcontrol/needle.png [6/29 16,7/sec] Copying needle_shadow.png to C:/Qt/Examples/Qt-6.8.0/quick/customitems/dialcontrol/build/Desktop_Qt_6_9_0_MSVC2022_64bit-Release/dialcontrol/needle_shadow.png [7/29 19,3/sec] Copying overlay.png to C:/Qt/Examples/Qt-6.8.0/quick/customitems/dialcontrol/build/Desktop_Qt_6_9_0_MSVC2022_64bit-Release/dialcontrol/overlay.png [8/29 21,7/sec] Copying quit.png to C:/Qt/Examples/Qt-6.8.0/quick/customitems/dialcontrol/build/Desktop_Qt_6_9_0_MSVC2022_64bit-Release/dialcontrol/quit.png [9/29 18,1/sec] Running qmlimportscanner for dialcontrolexample [10/29 11,0/sec] Automatic MOC and UIC for target dialcontrolexample [11/29 10,7/sec] Running AUTOMOC file extraction for target dialcontrolexample [12/29 11,4/sec] Generating .rcc/qmlcache/dialcontrolexample_qmlcache_loader.cpp FAILED: .rcc/qmlcache/dialcontrolexample_qmlcache_loader.cpp C:/Qt/Examples/Qt-6.8.0/quick/customitems/dialcontrol/build/Desktop_Qt_6_9_0_MSVC2022_64bit-Release/.rcc/qmlcache/dialcontrolexample_qmlcache_loader.cpp cmd.exe /C "cd /D C:\Qt\Examples\Qt-6.8.0\quick\customitems\dialcontrol\build\Desktop_Qt_6_9_0_MSVC2022_64bit-Release && C:\Qt\Examples\Qt-6.8.0\quick\customitems\dialcontrol\build\Desktop_Qt_6_9_0_MSVC2022_64bit-Release\.qt\bin\qt_setup_tool_path.bat C:/Qt/6.8.0/msvc2022_64/bin/qmlsc.exe --resource-name qmlcache_dialcontrolexample -o C:/Qt/Examples/Qt-6.8.0/quick/customitems/dialcontrol/build/Desktop_Qt_6_9_0_MSVC2022_64bit-Release/.rcc/qmlcache/dialcontrolexample_qmlcache_loader.cpp @C:/Qt/Examples/Qt-6.8.0/quick/customitems/dialcontrol/build/Desktop_Qt_6_9_0_MSVC2022_64bit-Release/.rcc/qmlcache/dialcontrolexample_qml_loader_file_list.rsp" [13/29 12,2/sec] Running rcc for resource qmake_dialcontrol [14/29 12,9/sec] Running rcc for resource dialcontrolexample_raw_qml_0 [15/29 12,6/sec] Running moc --collect-json for target dialcontrolexample ninja: build stopped: subcommand failed. 15:49:19: The process "C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" exited with code 1. Error while building/deploying project dialcontrol (kit: Desktop Qt 6.9.0 MSVC2022 64bit) When executing step "Build" 15:49:19: Elapsed time: 00:01.