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

RCC (Enterprise) doesn't attempt to compress qml text in binary .rcc files

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Out of scope
    • Icon: P1: Critical P1: Critical
    • None
    • 5.4.0
    • Build tools: rcc
    • None
    • Windows 7 64-bit

      When generating resources to binary files, QML files contained in QRC files are not compressed in any way. You can open an rcc file in a text editor and view the QML files in all their glory. When using rcc normally and create qrc_*.cpp files the qml content is somewhat more hidden in a long sequence of escaped characters (even if they are only literally the characters from the QML file listed as comma delimited escaped hex numbers representing those characters).

      Using the rcc compress option makes no difference - QML files are not compressed within .rcc files.

        1. 1.cpp
          515 kB
        2. 1.rcc
          98 kB
        3. 2.cpp
          3 kB
        4. 2.rcc
          0.2 kB
        5. foo.qrc
          0.1 kB
        6. foo.txt
          98 kB
        7. Temp.qml
          0.2 kB
        8. tempresource.qrc
          0.1 kB
        9. tempresource.rcc
          0.3 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            hjk hjk
            miketrahearn Mike Trahearn
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes