[QtonPi] Windowed Opengl ES Program

Samuel Rødal samuel.rodal at digia.com
Wed Oct 3 11:44:47 CEST 2012


On 10/03/2012 06:38 AM, Eden Harris wrote:
> Hi.
>
> Initially I tried compiling Qt with just the addition of -xcb but this
> did not appear to give me windowed apps. Then a colleague and me had a
> look at some of the source. I cannot remember exactly what was changed.
>  From memory we looked in mkspecs/devices/linu-rasp-pi-g++ and made
> changes to qmake.conf to refer to xcb rather than egelfs. We also then
> found that we can specify the default platform with the  -qpa option.
>
> The 'Trickery' I tried in the source may be unnecessary and just
> specifying "-xcb -qpa xcb" may just do the trick. When I get time I will
> try recompiling with my changes removed to see if that works.

Also try running the application with "-platform xcb" to explicitly 
select the xcb platform plugin. "-qpa xcb" when configuring simply 
selects xcb as the default platform.

Might be useful to do "export QT_DEBUG_PLUGINS=1" if a plugin fails to load.

The eglfs (as in egl fullscreen) platform plugin is not meant to run as 
an X11 client.

--
Samuel


More information about the QtonPi mailing list