forked from openlp/openlp
Update generate_resources.sh for PyQt5
This commit is contained in:
parent
05a653e670
commit
c964d968ca
@ -37,10 +37,10 @@
|
|||||||
mv openlp/core/resources.py openlp/core/resources.py.old
|
mv openlp/core/resources.py openlp/core/resources.py.old
|
||||||
|
|
||||||
# Create the new data from the updated qrc
|
# 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
|
# 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 resources.py to OpenLP coding style
|
||||||
patch --posix -s openlp/core/resources.py scripts/resources.patch
|
patch --posix -s openlp/core/resources.py scripts/resources.patch
|
||||||
|
Loading…
Reference in New Issue
Block a user