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
- resulted from
-
QTBUG-88044 Update build system related information for Qt Core 6
- Closed
-
QTBUG-94977 QFile does not support "qrc:/..." URLs?
- Closed
Gerrit Reviews
For Gerrit Dashboard: QTBUG-95126 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
365354,14 | Rewrite Qt Resource System overview | dev | qt/qtbase | Status: MERGED | +2 | 0 |
371331,2 | Rewrite Qt Resource System overview | 6.2.0 | qt/qtbase | Status: MERGED | +2 | 0 |
371332,2 | Rewrite Qt Resource System overview | 6.2 | qt/qtbase | Status: MERGED | +2 | 0 |