From 8a4d2bdbf7c8735fc00685548fd47eaa28ca9246 Mon Sep 17 00:00:00 2001 From: Ximi1970 Date: Tue, 2 Jun 2020 17:38:33 +0200 Subject: [PATCH] Fix qmake detect --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index b6194f9..7925dba 100644 --- a/Makefile +++ b/Makefile @@ -12,8 +12,9 @@ ifeq (GNU/Linux,$(shell uname -o)) QMAKE = qmake-qt5 ifeq (, $(shell which qmake-qt5 2>/dev/null)) ifeq (, $(shell which qmake 2>/dev/null)) - $(error "No qmake in $(PATH)") - endif + ifeq (,$(wildcard /usr/Qt-opensource-5.14.2-static/bin/qmake)) + $(error "No qmake in $(PATH)") + endif QMAKE = qmake endif else