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

qtquick_compiler_add_resources cmake function does not process resource paths with spaces

XMLWordPrintable

      — 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.

        For Gerrit Dashboard: QTBUG-57758
        # Subject Branch Project Status CR V

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes