[meta-freescale] meta-qt5 and WebKit2 examples?

Martin Jansa martin.jansa at gmail.com
Wed Mar 26 09:43:18 PDT 2014


On Wed, Mar 26, 2014 at 01:38:14PM -0300, Otavio Salvador wrote:
> Hello Erik,
> 
> On Wed, Mar 26, 2014 at 1:06 PM, Erik Botö <erik.boto at pelagicore.com> wrote:
> > I haven't tried the examples, but we can display e.g. google maps in a
> > webview on imx6 (eglfs). I'm not on latest meta-qt5, but I think it
> > should work there as well.
> >
> > QtWebProcess seems to require a certain pixelformat of the
> > framebuffer. In order to get it displaying properly I pass fbpix=BGR32
> > on the kernel command line. I use a nitrogen6x with the 10" hannstar
> > display so I basically do this in the u-boot-boundary-scripts package:
> >
> > diff -uNr git.orig/board/boundary/nitrogen6x/6x_bootscript-yocto.txt
> > git/board/boundary/nitrogen6x/6x_bootscript-yocto.txt
> > --- git.orig/board/boundary/nitrogen6x/6x_bootscript-yocto.txt
> > 2014-03-20 10:08:34.351756548 +0100
> > +++ git/board/boundary/nitrogen6x/6x_bootscript-yocto.txt 2014-03-20
> > 10:10:00.711759080 +0100
> > @@ -15,7 +15,7 @@
> >
> >  i2c dev 2
> >  if i2c probe 0x04 ; then
> > - setenv bootargs $bootargs video=mxcfb${nextcon}:dev=ldb,LDB-XGA,if=RGB666
> > + setenv bootargs $bootargs video=mxcfb${nextcon}:dev=ldb,fbpix=BGR32
> >  if test "0" -eq $nextcon; then
> >  setenv fbmem "fbmem=10M";
> >  else
> 
> Oh!
> 
> > Also, make sure you set QT_QPA_PLATFORM=eglfs when you run your app,
> > since using -platform eglfs won't propagate to the launched
> > QtWebProcess.
> 
> Martin, do you know if something related to this has been fixed in
> last Qt5 releases?

What version were you using in this test?

There were some changes for different fb formats in 5.2.1 (not really
sure if really related to the issue you're seeing) and there is
branch for 5.3.0-beta1 if you want to test it there.

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.yoctoproject.org/pipermail/meta-freescale/attachments/20140326/008744cd/attachment.pgp>


More information about the meta-freescale mailing list