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

Build fails while compiling qml files

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P1: Critical
    • 6.5
    • 6.5
    • QML: Compiler
    • Windows

    Description

      With the latest 6.5 dev binary (2022-11-04-20) shipped with the Maintenance Tool compilation of projects containing qml fails:

      12:49:04: Running steps for project androtest...
      12:49:04: Starting: "C:\QtCommercial\Tools\CMake_64\bin\cmake.exe" --build C:/Users/dev/Desktop/Projects/test/build-androtest-Desktop_Qt_6_5_0_MSVC2019_64bit-Debug --target all
      [1/22 22.8/sec] Generating com/test/qtquickcontrols2.conf
      [2/22 45.0/sec] Generating com/test/main.qml
      [3/22 49.5/sec] Generating .rcc/qmlcache/androtest_qmlcache_loader.cpp
      [4/22 40.0/sec] Running qmlimportscanner for androtest
      [5/22 17.8/sec] Automatic MOC and UIC for target androtest
      [6/22 18.8/sec] Running AUTOMOC file extraction for target androtest
      [7/22 21.8/sec] Running rcc for resource qmake_com_test
      [8/22 24.9/sec] Running rcc for resource androtest_raw_qml_0
      [9/22 27.8/sec] Running rcc for resource qmake_com_test_copy
      [10/22 28.3/sec] Running moc --collect-json for target androtest
      [11/22 24.7/sec] Automatic QML type registration for target androtest
      [12/22 20.3/sec] Generating .rcc/qmlcache/androtest_main_qml.cpp
      FAILED: .rcc/qmlcache/androtest_main_qml.cpp C:/Users/dev/Desktop/Projects/test/build-androtest-Desktop_Qt_6_5_0_MSVC2019_64bit-Debug/.rcc/qmlcache/androtest_main_qml.cpp 
      cmd.exe /C "cd /D C:\Users\dev\Desktop\Projects\test\build-androtest-Desktop_Qt_6_5_0_MSVC2019_64bit-Debug && C:\QtCommercial\Tools\CMake_64\bin\cmake.exe -E make_directory C:/Users/dev/Desktop/Projects/test/build-androtest-Desktop_Qt_6_5_0_MSVC2019_64bit-Debug/.rcc/qmlcache && C:\Users\dev\Desktop\Projects\test\build-androtest-Desktop_Qt_6_5_0_MSVC2019_64bit-Debug\.qt\bin\qt_setup_tool_path.bat C:/QtCommercial/6.5.0/msvc2019_64/./bin/qmlsc.exe --bare --resource-path /main.qml -I C:/Users/dev/Desktop/Projects/test/build-androtest-Desktop_Qt_6_5_0_MSVC2019_64bit-Debug -I C:/QtCommercial/6.5.0/msvc2019_64/./qml -i C:/Users/dev/Desktop/Projects/test/build-androtest-Desktop_Qt_6_5_0_MSVC2019_64bit-Debug/com/test/qmldir --resource C:/Users/dev/Desktop/Projects/test/build-androtest-Desktop_Qt_6_5_0_MSVC2019_64bit-Debug/.rcc/qmake_com_test.qrc --resource C:/Users/dev/Desktop/Projects/test/build-androtest-Desktop_Qt_6_5_0_MSVC2019_64bit-Debug/.rcc/qmake_com_test_copy.qrc --resource C:/Users/dev/Desktop/Projects/test/build-androtest-Desktop_Qt_6_5_0_MSVC2019_64bit-Debug/.rcc/androtest_raw_qml_0.qrc -o C:/Users/dev/Desktop/Projects/test/build-androtest-Desktop_Qt_6_5_0_MSVC2019_64bit-Debug/.rcc/qmlcache/androtest_main_qml.cpp C:/Users/dev/Desktop/Projects/test/androtest/main.qml"
      ninja: build stopped: subcommand failed.
      12:49:05: The process "C:\QtCommercial\Tools\CMake_64\bin\cmake.exe" exited with code 1.
      Error while building/deploying project androtest (kit: Desktop Qt 6.5.0 MSVC2019 64bit)
      When executing step "Build"
      12:49:05: Elapsed time: 00:01.
      
      

      Attachments

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

        Activity

          People

            ulherman Ulf Hermann
            Harald Meyer Harald Meyer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes