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

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

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        1. 1.cpp
          515 kB
          Mike Trahearn
        2. 1.rcc
          98 kB
          Mike Trahearn
        3. 2.cpp
          3 kB
          Mike Trahearn
        4. 2.rcc
          0.2 kB
          Mike Trahearn
        5. foo.qrc
          0.1 kB
          Mike Trahearn
        6. foo.txt
          98 kB
          Mike Trahearn
        7. Temp.qml
          0.2 kB
          Mike Trahearn
        8. tempresource.qrc
          0.1 kB
          Mike Trahearn
        9. tempresource.rcc
          0.3 kB
          Mike Trahearn

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: