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

Revamp "Qt Resource System" overview

    XMLWordPrintable

Details

    • User Story
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 6.2.0 Beta1
    • None

    Description

      https://doc.qt.io/qt-6/resources.html is the canonical place to explain the Qt resource system. I think it would benefit from a revamp though:

      • It misses a high-level overview on the features and use cases of the Qt resource system.
      • It starts right with .qrc files, and explains early on explains advanced features. Nowadays it's not mandatory to even use .qrc files anymore in qmake and CMake. So the description of .qrc file and its features should should be an advanced detail, not the start.
      • It focuses only on qmake, leaving out CMake API related to the resource system (AUTORCC, qt_add_resources...)
      • The difference between the ":/"syntax to access resource files via QFile, and the "qrc:/" prefix for QUrl's, is confusing and should be explained.

      Attachments

        Issue Links

          For Gerrit Dashboard: QTBUG-95126
          # Subject Branch Project Status CR V

          Activity

            People

              kkohne Kai Köhne
              kkohne Kai Köhne
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes