-
Notifications
You must be signed in to change notification settings - Fork 90
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update BUILD-INSTRUCTIONS-MACOS.md #158
base: master
Are you sure you want to change the base?
Conversation
Build instructions are not working for (at least) the new Silicon mac's. I don't have access to an older intel mac to see if the instructions are still working there, but since I couldn't find any open issues regarding this I assume it's only affecting silicon macs.
Fixing typos.
Intel Mac (Monterey) also needs Homebrew's gcc-11 to build successfuly:
|
Co-authored-by: Tommy Poll <Tommy@poolle.co.uk>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I had to use gcc-12 in the cmake command for Apple Silicon:
cmake -D CMAKE_PREFIX_PATH="/opt/homebrew/opt/qt5" -DCMAKE_C_COMPILER=/opt/homebrew/bin/gcc-12 -DCMAKE_CXX_COMPILER=/opt/homebrew/bin/g++-12 ..
And it works fine.
Confirming that this works with QT 5 and GCC 14 on macos Sonoma 14.4.1
Going to PR. |
@justinwzig interesting how your solution has To make it work for me I had to replace |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wish there was a way to avoid specifying the GCC version on Apple Silicon, but leaving it out makes it fall back on Xcode's tools which fail to compile the project.
Commiting updates 2.5 years later. Co-authored-by: Tommy Poll <Tommy@poolle.co.uk>
Build instructions are not working for (at least) the new Silicon mac's. I don't have access to an older intel mac to see if the instructions are still working there, but since I couldn't find any open issues regarding this I assume it's only affecting silicon macs.