[mac os] How to build qt 5.15.11 with threaded opengl
Solved
Installation and Deployment
-
Hi
I'm trying to build qt from source to have mac os m1 support.
Qt 5.15.2 works well with threaded opengl.
I built Qt 5.15.11 from source on Big Sur (XCode 13.2.1) and it doesn't have opengl support because of Apple removed it from 10.14+ SDK.
So I installed xcode 9.4.1 (10.13 SDK) on High Sierra and it fails with error:Preparing build tree... Creating qmake... .............................................................................................../Users/qtdev/qt/qt-everywhere-src-5.15.11/qtbase/src/corelib/kernel/qcore_mac.mm:245:13: error: use of undeclared identifier 'backtrace_from_fp' if (backtrace_from_fp(__builtin_frame_address(0), &frame, 1)) ^ 1 error generated. make: *** [qcore_mac.o] Error 1
My question is how qt company builds qt 5.15.x with threaded opengl support?
p.s. I can't use both commercial and metal as project is old and is very tight with opengl.
-
-