Uploaded image for project: 'Qt Design Studio'
  1. Qt Design Studio
  2. QDS-15922

Effect composer effects are not visible in built application

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P1: Critical P1: Critical
    • QDS 4.8.0
    • QDS 4.8.0, QDS 4.7.2
    • Effect Composer
    • None

      Steps to reproduce:

      • Open CMakeLists.txt of the attached project in Creator
      • Configure Qt6.8.x Desktop Release build
      • Build and run
      • -> Effect composer effects are not seen in the runnin application

      Application output:

      09:37:22: Starting C:\Users\taremes\Documents\EffectComposerTest-Release\EffectComposerTestApp.exe...
      Failed to find shader ":/qt/qml/Generated/Effects/Bars/bars.vert.qsb"
      ShaderEffect: Failed to deserialize QShader from :/qt/qml/Generated/Effects/Bars/bars.vert.qsb. Either the filename is incorrect, or it is not a valid .qsb file. In Qt 6 shaders must be preprocessed using the Qt Shader Tools infrastructure. The vertexShader and fragmentShader properties are now URLs that are expected to point to .qsb files generated by the qsb tool. See https://doc.qt.io/qt-6/qtshadertools-index.html for more information.
      ShaderEffect: shader preparation failed for qrc:/qt/qml/Generated/Effects/Bars/bars.vert.qsb
      Failed to find shader ":/qt/qml/Generated/Effects/Bars/bars.frag.qsb"
      ShaderEffect: Failed to deserialize QShader from :/qt/qml/Generated/Effects/Bars/bars.frag.qsb. Either the filename is incorrect, or it is not a valid .qsb file. In Qt 6 shaders must be preprocessed using the Qt Shader Tools infrastructure. The vertexShader and fragmentShader properties are now URLs that are expected to point to .qsb files generated by the qsb tool. See https://doc.qt.io/qt-6/qtshadertools-index.html for more information.
      ShaderEffect: shader preparation failed for qrc:/qt/qml/Generated/Effects/Bars/bars.frag.qsb
      Failed to find shader ":/qt/qml/Generated/Effects/MyEffect/myeffect.vert.qsb"
      ShaderEffect: Failed to deserialize QShader from :/qt/qml/Generated/Effects/MyEffect/myeffect.vert.qsb. Either the filename is incorrect, or it is not a valid .qsb file. In Qt 6 shaders must be preprocessed using the Qt Shader Tools infrastructure. The vertexShader and fragmentShader properties are now URLs that are expected to point to .qsb files generated by the qsb tool. See https://doc.qt.io/qt-6/qtshadertools-index.html for more information.
      ShaderEffect: shader preparation failed for qrc:/qt/qml/Generated/Effects/MyEffect/myeffect.vert.qsb
      Failed to find shader ":/qt/qml/Generated/Effects/MyEffect/myeffect.frag.qsb"
      ShaderEffect: Failed to deserialize QShader from :/qt/qml/Generated/Effects/MyEffect/myeffect.frag.qsb. Either the filename is incorrect, or it is not a valid .qsb file. In Qt 6 shaders must be preprocessed using the Qt Shader Tools infrastructure. The vertexShader and fragmentShader properties are now URLs that are expected to point to .qsb files generated by the qsb tool. See https://doc.qt.io/qt-6/qtshadertools-index.html for more information.
      ShaderEffect: shader preparation failed for qrc:/qt/qml/Generated/Effects/MyEffect/myeffect.frag.qsb
      09:37:26: C:\Users\taremes\Documents\EffectComposerTest-Release\EffectComposerTestApp.exe exited with code 0 
      • Effects are correctly seen when running the project in Design Studio

        1. EffectComposerTest.7z
          63 kB
        2. run_in_creator.png
          run_in_creator.png
          24 kB
        3. run_in_design_studio.png
          run_in_design_studio.png
          144 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            e0348803 Miikka Heikkinen
            tanja_remes Tanja Remes
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes