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

Rcc generates invalid cpp file with -binary flag set

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • 5.2.0
    • Build tools: rcc
    • None
    • Windows 7 32-bit MinGW 4.8

    Description

      When adding -binary flag to QMAKE_RESOURCE_FLAGS causes rcc to output a version of the generated cpp file which cannot be compiled due to some kind of error in nonprintable characters the top of the cpp file. A small extract of the many errors is as follows:

      debug\qrc_resources.cpp:1:5: warning: null character(s) ignored [enabled by default]
      qres
      ^
      debug\qrc_resources.cpp:1:1: error: stray '\1' in program
      qres

      In addition, warnings over potential duplicate aliases detected are also shown, where the qrc file is known to be correct.

      Attachments

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

        Activity

          People

            hjk hjk
            miketrahearn Mike Trahearn
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes