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

QtGui.dll contains ~400Kb of resources. All of them needed?

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 4.6.2
    • 4.6.0
    • None
    • None
    • 9eea7172d4d4984a111f009a60f5eaa0568fcf89

    Description

      This is not necessarily a Symbain bug. But Symbian and WinCE are the only platforms where this may be relevant.

      QtGui contains loads of resources. This is the list of qrc_*.o files that are linked into an armv2 urel build of QtGui.dll:

      Object file Size (bytes)
      qrc_qmessagebox.o 10,844
      qrc_qprintdialog.o 42,008
      qrc_qstyle.o 337,160
      qrc_symbianresources.o 16,260

      337,160 bytes just for qstyle! And since this is nearly exclusively full of PNG files, it won't really be compressed in the qt.sis package.

      1) Do we need all of the PNG files in the style on Symbian? And what about the resources for the qprintdialog? QtSymbian does not have a print dialog.
      2) Why are these PNG files in Qt resources? They are loaded into ram just to be uncompressed by the application anyway/ For Symbian we may deploy these files as files in the Qt.sis package, saving lots of ram.

      I attached the .o files in question.

      Attachments

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

        Activity

          People

            portale Alessandro Portale
            portale Alessandro Portale
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes