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

Otavio Salvador otavio at ossystems.com.br
Wed Mar 26 09:38:14 PDT 2014


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?

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


More information about the meta-freescale mailing list