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

qtquick_compiler_add_resources cmake function does not process resource paths with spaces

    XMLWordPrintable

Details

    Description

      — Tested on Windows 7 using Qt Quick Compiler and CMake 3.x —

      Resource paths (QML, images...) containing spaces are simply quietly not processed by the cmake function "qtquick_compiler_add_resources".

      My current fix consists of adding escaped double quotes \" \" around ${input_resource} line 53 of the cmake file "Qt5QuickCompilerConfig.cmake" :

      exec_program($\{rcc_path} ARGS -list \"$\{input_resource}\" OUTPUT_VARIABLE rcc_contents)
      

      All Qt Versions after 5.6 seems to have the problem.

      Attachments

        Issue Links

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

          Activity

            People

              shausman Simon Hausmann
              b.boichon Bertrand
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes