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

CMake exporter does not include shader effects

XMLWordPrintable

    • macOS

      When exporting an example project which uses Quick3D:

      https://git.qt.io/public-demos/qtdesign-studio/-/tree/effectComposerExample

      The Cmake exporter does not take the Quick3D models and meshes into the flow.

      The project was done with Qt DS 4.5 originally.

      Steps to reproduce

      1. Enable Cmake creation from menu
      2. Save the project in Qt DS
      3. Open the project in Qt Creator with Qt 6.8 kit
      4. Run Cmake
      5. Compile

      Expected result:

      • Project runs OK

      Actual result:

      • Project runs but if effects are enabled from the buttons on screen, notthing happens. Log is full of this:

      No GLSL shader code found (versions tried:  QList(120) ) in baked shader QShader(stage=0 shaders=QList(ShaderKey(0 Version(100 QFlags()) 0), ShaderKey(1 Version(140 QFlags()) 0), ShaderKey(1 Version(300 QFlags(0x1)) 0), ShaderKey(1 Version(330 QFlags()) 0), ShaderKey(1 Version(410 QFlags()) 0), ShaderKey(2 Version(50 QFlags()) 0), ShaderKey(4 Version(12 QFlags()) 0)) desc.isValid=true)
      No GLSL shader code found (versions tried:  QList(120) ) in baked shader QShader(stage=4 shaders=QList(ShaderKey(0 Version(100 QFlags()) 0), ShaderKey(1 Version(140 QFlags()) 0), ShaderKey(1 Version(300 QFlags(0x1)) 0), ShaderKey(1 Version(330 QFlags()) 0), ShaderKey(1 Version(410 QFlags()) 0), ShaderKey(2 Version(50 QFlags()) 0), ShaderKey(4 Version(12 QFlags()) 0)) desc.isValid=true)
      No GLSL shader code found (versions tried:  QList(120) ) in baked shader QShader(stage=0 shaders=QList(ShaderKey(0 Version(100 QFlags()) 0), ShaderKey(1 Version(140 QFlags()) 0), ShaderKey(1 Version(300 QFlags(0x1)) 0), ShaderKey(1 Version(330 QFlags()) 0), ShaderKey(1 Version(410 QFlags()) 0), ShaderKey(2 Version(50 QFlags()) 0), ShaderKey(4 Version(12 QFlags()) 0)) desc.isValid=true)
      Failed to build graphics pipeline state

       

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

            thohartm Thomas Hartmann
            javihria Jarko Vihriälä
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes