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

Add compression to resource files .qrc

    XMLWordPrintable

    Details

    • Type: Suggestion
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Done
    • Affects Version/s: Some future release
    • Fix Version/s: None
    • Labels:
      None

      Description

      Please, add zlib/7z compression to resource files.
      For instance, if I add a .txt file into a .qrc file you could save some bytes just compressing it with zlib.
      When I do this:

      QString myTxt ( ":/docs/myFile.txt" )

      the implementation should decompress it in memory and return a QByteArray with the decompressed data.

      That would help a lot not only with raw text files but also with some image formats like BMPs, etc... and also will help to hide data from strange eyes.

      thx.

        Attachments

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

          Activity

            People

            Assignee:
            hjk hjk
            Reporter:
            pelotoescogorciao Victor Martin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes