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

rcc -binary performs CRLF conversion on Windows

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • 5.4.0
    • 4.7.4, 4.8.5
    • Build tools: rcc
    • None
    • Windows.
    • bb0263eb80620b64057b6a0a1d6bccad3d3e6282

    Description

      When writing binary resource data ('-binary') to stdout, on Windows, rcc performs LF → CRLF conversion, resulting in corrupt data that causes Qt to crash when trying to use the subsequently loaded resources.

      This can be readily verified by comparing the results of writing an rcc data file with the '-o' option versus output redirection; the latter will be larger dues to additional 0x0d bytes added before all 0x0a bytes.

      Attachments

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

        Activity

          People

            hjk hjk
            matthew.woehlke Matthew Woehlke
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes