-
Notifications
You must be signed in to change notification settings - Fork 264
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
Build on macOS Big Sur fails unless QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.14 #41
Comments
Hello Marius, Thanks for reporting this, I never tried to build on MacOS so your feedback is very valuable. Greetings! |
Yes, it works just fine under MacOS, using Qt Creator and the latest Qt 5.x to build. |
Took longer than expected because my local copy was a few months behind. I've created a pull request here: #42. Apparently, you removed In anybody else reads this, Xcode 12 is not officially supported by Qt at the moment of this writing. |
That's great! |
You're welcome. Thank you for creating Mayo! |
Without setting the MacOS version equal to or higher than 10.14, the build fails because certain
std::variant
functionalities were not available before 10.14.Specifically, in
occ_static_variables_rollback.cpp
, thestd::get<T>(record.value)
in lines 97, 99, 101 throws an error message " occ_static_variables_rollback.cpp:97:71: error: 'get<int, int, double, std::__1::basic_string >' is unavailable: introduced in macOS 10.14variant:1394:22: note: 'get<int, int, double, std::__1::basic_string >' has been explicitly marked unavailable here"
This can be fixed by updating
mayo.pro
withThe text was updated successfully, but these errors were encountered: