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

[Reg Boot to Qt 6.9.1 -> 6.10.0 beta1] Cannot build shaders with Boot to Qt (Windows)

XMLWordPrintable

    • 046c01b2e (walnascar)

      Windows 10, 11 (both arm and x64)

      Boot to Qt 6.10.0 beta1 (does not reproduce with Boot to Qt 6.9.1)

      Steps to reproduce:

      Install Boot to Qt 6.10.0 beta1 package (any) on a Windows host

      Build quick3d/offlineshaders example (tested using cmd)

      Expected result:

      Build succeeds

      Actual result:

      Build gets stuck with:

      C:\Users\qt\RTA\B2Qt_6.10.0\Examples\Qt-6.10.0\quick3d\offlineshaders> cmake --build build --parallel
      
      [0/27] Generating .rcc/generated_shaders.qrc 

      This caused all the RTA build tests to timeout with Boot to Qt 6.10.0 beta1 on Windows. 

      If one reverts the latest commits: 

      https://codereview.qt-project.org/q/f525940cd5432e4e40d6767a22ca881a175a4b91

      build still fails with:

       [5/31] Generating .rcc/generated_shaders.qrc
      
      FAILED: .rcc/generated_shaders.qrc C:/Qt/build/.rcc/generated_shaders.qrc
      
      C:\Windows\system32\cmd.exe /C "cd /D C:\Qt\build && C:\Qt\build\.qt\bin\qt_setup_tool_path.bat C:/Qt/6.10.0/Boot2Qt/raspberrypi-armv8/toolchain/sysroots/x86_64-w64-mingw32/usr/bin/shadergen.exe -C C:/Qt/Examples/Qt-6.10.0/quick3d/offlineshaders -o C:/Qt/build/.rcc -r generated_shaders.qrc ""MaterialRed.qml MaterialRedExtended.qml main.qml"""
      
      Writing files to C:/Qt/build/.rcc
      
      ninja: build stopped: subcommand failed.

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

            sapiippo Samuli Piippo
            mipohjan Milla Pohjanheimo
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes