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

Erik Botö erik.boto at pelagicore.com
Thu Mar 27 07:14:29 PDT 2014


On Thu, Mar 27, 2014 at 10:45 AM, Julien Chastaing (b-swiss)
<julienchastaing at b-swiss.com> wrote:
> Hello Erik,
>
> I tried to pass fbpix=BGR32 to the kernel as well as setting
> QT_QPA_PLATFORM=eglfs as you mentionned but still nothing displayed.

Unfortunately I get the same problem when using qt 5.2.1.

-- E

>
> I am using an utilite pro with qt 5.2.1.
>
> Regards,
>
> Julien Chastaing
>
> b-swiss | smart digital signage
> b-tween | digital signage & user experience agency
>
> Suivez-nous sur twitter:   _btwn <https://twitter.com/_btwn>
>
> T. + 41 22 940 11 11
> julienchastaing at b-swiss.com
>
> chastaing at b-tween.com
>
> http://www.b-swiss.com <http://www.b-swiss.com/>
> http://www.b-tween.com <http://www.b-tween.com/>
>
>
>
>
>
>
> Le 26.03.14 17:57, « Erik Botö » <erik.boto at pelagicore.com> a écrit :
>
>>On Wed, Mar 26, 2014 at 5:43 PM, Martin Jansa <martin.jansa at gmail.com>
>>wrote:
>>> 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?
>>
>>This was qtwebkit-5.1.1. I'll start a build of meta-qt5 master to see
>>if 5.2.1 work ok for me.
>>
>>Cheers,
>>Erik
>>
>>>
>>> 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
>>--
>>_______________________________________________
>>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