forked from metabrainz/picard
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
988d9ec
commit 7d78b2a
Showing
1 changed file
with
17 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
Updating Resources | ||
================== | ||
|
||
This directory contains all external resources, like icons, used by Picard. | ||
|
||
Picard utilizes PyQt4 Resource System for using these resources in application. For more information about PyQt4 Resource System see this [documentation](http://pyqt.sourceforge.net/Docs/PyQt4/resources.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. | ||
|
||
$ python2 makeqrc.py | ||
|
||
3. Create binary of all resources which will be used by Picard. | ||
|
||
$ python2 compile.py |