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

Calling rcc.exe is broken on MinGW

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Not Evaluated Not Evaluated
    • 4.8.4
    • 4.8.3
    • Build tools: qmake
    • None
    • Windows, MinGW

      In Qt 4.8.2 and previous versions, this snippet is created for generating the RCC output on a MinGW makefile:

      release/qrc_foo.cpp: ../foo/foo.qrc \
      		../foo/images/icon1.png \
      		../foo/images/icon2.png
      	c:\Qt\qt-src-4.8.2-MinGW\bin\rcc.exe -name foo ..\foo\foo.qrc -o release\qrc_foo.cpp
      

      In 4.8.3 it changed to this one:

      release/qrc_foo.cpp: ../foo/foo.qrc \
      		../foo/images/icon1.png \
      		../foo/images/icon2.png
      	bin\rcc.exe -name foo ..\foo\foo.qrc -o release\qrc_foo.cpp
      

      Obviously, bin\rcc.exe is not found in PATH and the complete path to the executable was stripped away.

      If I add c:\Qt\qt-src-4.8.3-MinGW to the PATH variable, at least RCC is run, but the dependency list is still almost empty, only containing foo.qrc, but no the actual files referenced in it.

      Reverting to 4.8.2 for now.

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

            buddenha Oswald Buddenhagen
            vgoetz Volker Götz
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes