[Development] building the xcb platform plugin on OS X

René J.V. Bertin rjvbertin at gmail.com
Wed Mar 25 13:32:08 CET 2015


I have been toying with the xcb platform on OS X (10.9; Qt 5.4.1), mostly because it's supposed to work.
Surprisingly it does build without too much issues once one has the right combination of configure flags and installed dependencies, and even more surprisingly even OpenGL works (on a local X server) despite the fact that the plugin links to Apple's GL frameworks instead of against the libGL from XQuartz.

Question: (how) can I invoke configure such that it sets the qmake OpenGL include and lib variables so that the xcb plugin will link against the X11 OpenGL library/ies?
If I do so, will that lead to OpenGL library clashes, or is that prevented properly through the platform plugin approach?


More information about the Development mailing list