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

Don't write one file many times into resource

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • P2: Important
    • None
    • 4.7.2, 6.4.0 RC1
    • Build tools: rcc
    • None

    Description

      If you put this same files twice file should be visible in resources twice, but I don't any good reason for putting file's content twice.

      Example:

      <!DOCTYPE RCC><RCC version="1.0">
      <qresource> 
      <file alias="aaa">000</file>
      <file alias="bbb">000</file>
      </qresource>
      </RCC>
      

      Here's the patch. I use the same offset to blob in resource for this same file (when RCCFileInfo-s have the same m_fileInfo.absoluteFilePath() ).

      Attachments

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

        Activity

          People

            rysson Robert Kalinowski
            rysson Robert Kalinowski
            Vladimir Minenko Vladimir Minenko
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes