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

Erik Botö erik.boto at pelagicore.com
Wed Mar 26 09:06:21 PDT 2014


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.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";

Also, make sure you set QT_QPA_PLATFORM=eglfs when you run your app,
since using -platform eglfs won't propagate to the launched


On Fri, Mar 7, 2014 at 3:42 PM, Dmitriy B. <rzk333 at gmail.com> wrote:
>> I'd love if you guys could give it a try and let me know how it goes.
> Sure. I'm ready to recompile Qt with your patches and test my applications.
> Best Regards,
> Dmitriy Beykun
> _______________________________________________
> meta-freescale mailing list
> meta-freescale at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-freescale

Erik Botö
Senior Software Engineer
Pelagicore AB
Ekelundsgatan 4, 6tr, SE-411 18 Gothenburg, Sweden
Mobile: +46 (0)76 881 72 03
E-Mail: erik.boto at pelagicore.com

More information about the meta-freescale mailing list