Skip to content

Commit c23f6f8

Browse files
committed
Add depends qt fix for ARM macs
1 parent 31c9987 commit c23f6f8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

depends/packages/qt.mk

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,9 @@ $(package)_config_opts_darwin += -device-option MAC_TARGET=$(host)
128128
$(package)_config_opts_darwin += -device-option XCODE_VERSION=$(XCODE_VERSION)
129129
endif
130130

131+
# for macOS on Apple Silicon (ARM) see https://bugreports.qt.io/browse/QTBUG-85279
132+
$(package)_config_opts_arm_darwin += -device-option QMAKE_APPLE_DEVICE_ARCHS=arm64
133+
131134
$(package)_config_opts_linux = -qt-xkbcommon-x11
132135
$(package)_config_opts_linux += -qt-xcb
133136
$(package)_config_opts_linux += -no-xcb-xlib

0 commit comments

Comments
 (0)