Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-127338

Reg 6.8.0 Beta 1 -> Beta 2 - Building examples fails

    XMLWordPrintable

Details

    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. 

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qtbuildsystem Qt Build System Team
            mastambo Maycon Stamboroski
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes