new location macos 11 homebrew qt
This commit is contained in:
parent
8a7dfe0b1a
commit
bca592adf6
2
Makefile
2
Makefile
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue