building klayout on macOS Tahoe M1 with qt5 (framework 'AGL' not found) #8453
stefanottili
started this conversation in
General
Replies: 1 comment 3 replies
-
|
I'm curious if building with bazel works on a mac. It is more hermetic and should care less. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Since OpenROAD is still using qt5, I also build klayout with homebrew qt5 on a MacBook M1.
After switching to MacOS Tahoe this stopped working, the build fails with
ld: framework 'AGL' not found.klayout builds without issues using the default qt (6.9.2).
Unfortunately the OpenROAD build system doesn't like it when both qt5 and qt6 are installed.
The workaround to build using qt@5 is to remove all mention of AGL from
/opt/homebrew/opt/qt@5/mkspecs/modules/qt_lib_gui_private.pri.build4mac.py -r HB34 -p HBAuto -q Qt5Brew -m '--jobs=8' -n -uthen succeeds in building klayout.Beta Was this translation helpful? Give feedback.
All reactions