Details
-
Task
-
Resolution: Unresolved
-
P2: Important
-
QSR 2.2
-
None
-
0594af026 (2.2)
Description
Implement a new feature in QtSafeLayoutTool to generate a JSON file containing metadata about generated resources. The Qt Ultralite will use this JSON file to process the generated files in the resource compiler.
The QUL resource system uses following format in the resource file and it is preferred to use the same syntax in Qt Safe Layout Tool:
json [ { "file_type": "Image", "resource_path": "path/to/file.srb" }, { "file_type": "Binary", "resource_path": "path/to/file.srt" } ]
Implementation Details
- JSON file should only include bitmaps, text layouts, and font files
- File paths should use native path separators
- JSON file should be generated in the same directory as the resource file
- JSON file generation should be optional and controlled via CMake option
Attachments
Gerrit Reviews
For Gerrit Dashboard: QSR-2819 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
645666,4 | Add JSON file generation to qtsafelayouttool | dev | tqtc-boot2qt/qtsaferenderer | Status: NEW | 0 | -1 |