GODT-1942: Use qmake to find the QT6DIR

This commit is contained in:
Romain LE JEUNE
2022-10-17 15:46:13 +02:00
parent 9d800324af
commit ce5b6c9f64
8 changed files with 29 additions and 39 deletions

View File

@ -197,7 +197,7 @@ check-has-go:
check_is_installed=if ! which $(1) > /dev/null; then echo "Please install $(1)"; exit 1; fi
check-build-essentials: check-qt-dir
check-build-essentials:
@$(call check_is_installed,zip)
@$(call check_is_installed,unzip)
@$(call check_is_installed,tar)
@ -207,9 +207,6 @@ ifneq "${GOOS}" "windows"
@$(call check_is_installed,ninja)
endif
check-qt-dir:
@if ! ls "${QT6DIR}/bin/qt.conf" > /dev/null; then echo "Please set QT6DIR"; exit 1; fi
add-license:
./utils/missing_license.sh add