Skip to content

Commit

Permalink
Add readme for updating resources
Browse files Browse the repository at this point in the history
  • Loading branch information
rahul-raturi committed Apr 12, 2016
1 parent 988d9ec commit 7d78b2a
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions resources/README.md
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

0 comments on commit 7d78b2a

Please sign in to comment.