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

qt6_add_shader doesn't create .qsb subdirectory

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 6.0.0
    • Fix Version/s: None
    • Component/s: Build System: CMake
    • Labels:
      None

      Description

      With a Qt6 installation on Linux adding a shader using qt6_add_shader leads to a build failure caused by the .qsb subdirectoy not existing when the makefile generator is used.

       

       

      RCC: Error in '<project_dir>/build/.rcc/generated_test_shaders.qrc': Cannot find file '<project_dir>/build/.qsb/test.frag.qsb'
      

      running mkdir .qsb in the build directory and rerunning the build step lets the build work without problems.

       

        Attachments

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

          Activity

            People

            Assignee:
            qtbuildsystem Qt Build System Team
            Reporter:
            duncan Duncan Paterson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes