"make qt5" will now actually use qt5: "pyrcc5 -o resources.py resources.qrc" Bug: "make qt5" installed qt4py2. That is kind of miss leading, since "qt5" should actually use qt5 and not use qt4.
27 lines
328 B
Makefile
27 lines
328 B
Makefile
# ex: set ts=8 noet:
|
|
|
|
all: qt4
|
|
|
|
test: testpy2
|
|
|
|
testpy2:
|
|
python -m unittest discover tests
|
|
|
|
testpy3:
|
|
python3 -m unittest discover tests
|
|
|
|
qt4: qt4py2
|
|
|
|
qt5: qt5py3
|
|
|
|
qt4py2:
|
|
pyrcc4 -py2 -o resources.py resources.qrc
|
|
|
|
qt4py3:
|
|
pyrcc4 -py3 -o resources.py resources.qrc
|
|
|
|
qt5py3:
|
|
pyrcc5 -o resources.py resources.qrc
|
|
|
|
.PHONY: test
|