add support for QT5, fallback to QT4

This commit is contained in:
Ryan Flynn
2017-01-02 20:50:02 -05:00
parent c7ddf4a3ef
commit 2beed27cf2
11 changed files with 234 additions and 57 deletions
+13 -3
View File
@@ -1,6 +1,16 @@
all: resources.py
all: qt4
%.py: %.qrc
pyrcc4 -o $@ $<
qt4: qt4py2
qt5: qt4py3
qt4py2:
pyrcc4 -py2 -o resources.py resources.qrc
qt4py3:
pyrcc4 -py3 -o resources.py resources.qrc
qt5py3:
pyrcc5 -o resources.py resources.qrc