> On 13 Sep 2015, at 00:55, Thiago Macieira <thiago.macie...@intel.com> wrote: > > On Saturday 12 September 2015 18:16:54 René J. V. Bertin wrote: >> Thiago Macieira wrote: >>> Maybe we need two tests: one for OpenGL for XCB plugin (with GLX support) >>> and one for OpenGL for the Cocoa plugin (AGL support). >> >> I think that's what you get when using my approach: > > Not really. I guess I didn't express myself: I meant keep *both* tests, but > use two different variables for storing them: one for OpenGL-for-XCB and one > for OpenGL-for-Cocoa. > > In any case, is there any Apple system that *lacks* the OpenGL libraries? Why > do we need to test for it? Let the configure script detect the XCB one with > pkg-config and let the Cocoa plugin use -framework OpenGL -framework AGL, > pure > and simple.
Then the question is: which ones should QtGui link against? On other words OpenGL usage is not confined to platform plugins only. To me this points to Xcb or Cocoa being a configure-time choice. Morten _______________________________________________ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development