Update generate_resources.sh for PyQt5

This commit is contained in:
Jonathan Springer 2015-11-29 17:49:20 -05:00
parent 05a653e670
commit c964d968ca
1 changed files with 2 additions and 2 deletions

View File

@ -37,10 +37,10 @@
mv openlp/core/resources.py openlp/core/resources.py.old
# Create the new data from the updated qrc
pyrcc4 -py3 -o openlp/core/resources.py.new resources/images/openlp-2.qrc
pyrcc5 -o openlp/core/resources.py.new resources/images/openlp-2.qrc
# Remove patch breaking lines
cat openlp/core/resources.py.new | sed '/# Created: /d;/# by: /d' > openlp/core/resources.py
cat openlp/core/resources.py.new | sed '/# Created by: /d' > openlp/core/resources.py
# Patch resources.py to OpenLP coding style
patch --posix -s openlp/core/resources.py scripts/resources.patch