On 03/02/2015 10:28 PM, Thiago Macieira wrote: > On Monday 02 March 2015 12:06:23 Shi Yan wrote: >> I'm trying to make my own platform plugin with egl. but I always get a >> black screen. >> >> I’m trying to build the xcb-plugin with egl support, so that I can debug it >> and compare it with my implementation. >> >> I noticed if CONFIG has x11_egl, then it will use egl instead of glx. >> >> but I tried to configure the Qt project with ./configure -opengl x11_egl, >> it won’t work. >> >> I can’t find the right way to enable egl. do you know? > > configure -opengl es2 >
Or if you want to use desktop GL without GLX, try -opengl desktop -no-xcb-xlib You might be better off with EGLFS (+ X11 hooks), though. That option is more geared toward custom embedded development. See Laszlo's excellent post about the improvements for Qt 5.5: http://blog.qt.io/blog/2015/01/20/qt-weekly-23-qt-5-5-enhancements-for-linux-graphics-and-input-stacks/ _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest