new location macos 11 homebrew qt

This commit is contained in:
quietok(david) 2021-09-13 01:40:59 -05:00 committed by Felix Queißner
parent 8a7dfe0b1a
commit bca592adf6
2 changed files with 3 additions and 3 deletions

View File

@ -29,7 +29,7 @@ UNAME_M := $(shell uname -m)
# Homebrew on macOS does not link Qt5 into the system path.
ifeq ($(UNAME),Darwin)
ifeq ($(UNAME_M),arm64)
HOMEBREW_PATH=export PATH="$(PATH):/opt/homebrew/opt/qt/bin";
HOMEBREW_PATH=export PATH="$(PATH):/opt/homebrew/opt/qt5/bin";
else
HOMEBREW_PATH=export PATH="$(PATH):/usr/local/opt/qt/bin";
endif

View File

@ -59,8 +59,8 @@ win32-g++ {
macx {
# Homebrew include paths
contains(QMAKE_HOST.arch, arm.*):{
INCLUDEPATH += /opt/homebrew/opt/qt/include
LIBS += -L/opt/homebrew/opt/qt/lib
INCLUDEPATH += /opt/homebrew/opt/qt5/include
LIBS += -L/opt/homebrew/opt/qt5/lib
INCLUDEPATH += /opt/homebrew/opt/openssl/include
LIBS += -L/opt/homebrew/opt/openssl/lib