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

Subdirectories as a resource

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • P3: Somewhat important
    • None
    • 5.0.0
    • Core: Resource System
    • None
    • Debian, gcc 4.6, qt5 (7407045388cc7a7d5f955ed9cbf938db8031baa0)

    Description

      Resource system is "eating" subdirectories from path.

      For this qrc file:

      <!DOCTYPE RCC><RCC version="1.0">
      <qresource>
          <file>stream</file>
      </qresource>
      </RCC>
      

      And this directory structure:

      ls -R
      ./stream:
      qt4.9
      ./stream/qt4.9:
      bool.bin ...
      

      Resource system constructs different hierarchy, "bool.bin" is placed directly under "stream" directory instead of "stream/qt4.9/". Generated qrc_xxx.cpp file contains comment ":/stream/bool.bin" too.

      I would suspect that "bool.bin" should be accessible by ":/stream/qt4.9/bool.bin" not by ":/stream/bool.bin" path.

      Attachments

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

        Activity

          People

            hjk hjk
            nierob Nierob
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes