diff --git a/Makefile b/Makefile index 9631a87..df98b78 100644 --- a/Makefile +++ b/Makefile @@ -5,13 +5,16 @@ else ifeq (GNU/Linux,$(shell uname -o)) SYSTEM = Linux - QMAKE = qmake-qt5 - ifeq (, $(shell which qmake-qt5 2>/dev/null)) - ifeq (, $(shell which qmake 2>/dev/null)) - $(error "No qmake in $(PATH)") + QMAKE = qmake6 + ifeq (, $(shell which qmake6 2>/dev/null)) + QMAKE = qmake-qt5 + ifeq (, $(shell which qmake-qt5 2>/dev/null)) + ifeq (, $(shell which qmake 2>/dev/null)) + $(error "No qmake in $(PATH)") + endif + QMAKE = qmake + endif endif - QMAKE = qmake - endif else $(error "Unknown system") endif