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.
|
# Homebrew on macOS does not link Qt5 into the system path.
|
||||||
ifeq ($(UNAME),Darwin)
|
ifeq ($(UNAME),Darwin)
|
||||||
ifeq ($(UNAME_M),arm64)
|
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
|
else
|
||||||
HOMEBREW_PATH=export PATH="$(PATH):/usr/local/opt/qt/bin";
|
HOMEBREW_PATH=export PATH="$(PATH):/usr/local/opt/qt/bin";
|
||||||
endif
|
endif
|
||||||
|
|
|
@ -59,8 +59,8 @@ win32-g++ {
|
||||||
macx {
|
macx {
|
||||||
# Homebrew include paths
|
# Homebrew include paths
|
||||||
contains(QMAKE_HOST.arch, arm.*):{
|
contains(QMAKE_HOST.arch, arm.*):{
|
||||||
INCLUDEPATH += /opt/homebrew/opt/qt/include
|
INCLUDEPATH += /opt/homebrew/opt/qt5/include
|
||||||
LIBS += -L/opt/homebrew/opt/qt/lib
|
LIBS += -L/opt/homebrew/opt/qt5/lib
|
||||||
|
|
||||||
INCLUDEPATH += /opt/homebrew/opt/openssl/include
|
INCLUDEPATH += /opt/homebrew/opt/openssl/include
|
||||||
LIBS += -L/opt/homebrew/opt/openssl/lib
|
LIBS += -L/opt/homebrew/opt/openssl/lib
|
||||||
|
|
Loading…
Reference in New Issue