[QtonPi] Fwd: Windowed Opengl ES Program
Eden Harris
aussiedwarf at gmail.com
Thu Oct 4 04:19:57 CEST 2012
Thanks for that Andy. That makes my life easier. Eglfs application it is
then.
On 3 October 2012 20:04, Andy Nichols <nezticle at gmail.com> wrote:
> Re-forwarding to list, sorry Samuel.
>
> ---------- Forwarded message ----------
> From: Andy Nichols <nezticle at gmail.com>
> Date: Wed, Oct 3, 2012 at 12:02 PM
> Subject: Re: [QtonPi] Windowed Opengl ES Program
> To: Samuel Rødal <samuel.rodal at digia.com>
>
>
> On Wed, Oct 3, 2012 at 11:44 AM, Samuel Rødal <samuel.rodal at digia.com>
> wrote:
> > 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.
>
> I think its also important to note that you there is still no OpenGL
> support in X11 on the Raspberry Pi. If you are using with the xcb
> plugin, you will not be able to run applications that use OpenGL (this
> includes all QtQuick 2 programs) on the Pi. This is not something we
> can fix in Qt.
>
> --
> Andy Nichols
> _______________________________________________
> 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/20121004/652feee8/attachment.html
More information about the QtonPi
mailing list