Files
picard/resources/README.md
Philipp Wolfer 61fc0d65a0 PICARD-2331: Fixed resource loading with Qt6
This requires the Qt6 rcc utility (instead of the no longer maintained pyrcc utility).
2023-10-13 07:13:27 +02:00

19 lines
666 B
Markdown

Updating Resources
==================
This directory contains all external resources, like icons, used by Picard.
Picard utilizes the Qt6 Resource Compiler rcc for using these resources in
application. For more information see the [documentation](https://doc.qt.io/qt-6/rcc.html).
For adding a new image into existing resources, follow these steps:
1. Add image file (like .png) into `resources/images/` and source file (like .svg) into `resources/img-src`.
2. Generate new .qrc file. This would automatically detect any changes in directory.
python3 makeqrc.py
3. Create binary of all resources which will be used by Picard.
python3 compile.py