[QtonPi] Windowed Opengl ES Program
Eden Harris
aussiedwarf at gmail.com
Wed Oct 3 06:38:39 CEST 2012
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.
On 3 October 2012 12:58, Wruhen Retribution <wruhen at rogers.com> wrote:
>
> Hi Eden
>
> Would you be willing to explain more about what you did (especially the
> 'tweaking') to get the windowing mode going? I certainly haven't got that
> far and would appreciate some details.
>
> On 2012-10-02, at 10:44 PM, Eden Harris <aussiedwarf at gmail.com> wrote:
>
> > Hi.
> >
> > I have been experimenting around getting Qt to compile for the Raspberry
> Pi. I was able to eventually able to get Qt to compile and run some of the
> example programs including some of the opengl ones. I was disappointed that
> everything was fullscreen and found some of the examples glitchey and was
> not able to exit without restarting my Pi.
> >
> > I was then able to successfully compile Qt and some of the examples
> using the -xcb and -qpa xcb config options(plus a bit of extra tweaking)
> which produced windowed programs instead of fullscreen.
> >
> > When I tried to run some of the opengl example programs with the
> windowed Qt I get this error
> > "Can't find EGLconfig, returning null config
> > unable to find an x11 visual which matches egl config 0
> > Cannot initialize EGL"
> >
> > Is it possible to run windowed opengl es apps on the Pi with Qt? If so,
> what can I do to get his to work?
> >
> >
> > _______________________________________________
> > QtonPi mailing list
> > QtonPi at qt-project.org
> > http://lists.qt-project.org/mailman/listinfo/qtonpi
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qtonpi/attachments/20121003/31fb3772/attachment-0001.html
More information about the QtonPi
mailing list