[Interest] I.MX6 and QT5

Eric Nelson eric.nelson at boundarydevices.com
Tue Jan 15 18:23:17 CET 2013


On 01/15/2013 09:23 AM, Thomas Senyk wrote:
> On Tue, January 15, 2013 08:01:41 Eric Nelson wrote:
>> On 01/15/2013 02:41 AM, Thomas Senyk wrote:
>>> On Mon, January 14, 2013 22:31:47 qtnext wrote:
>>>> Hi,
>>>>
>>>> is there anyone using I.MX6 and Qt5 (quick2 / OpenGL / Multimedia
>>>> playback
>>>> ) ? Is it easy to use ? is there any ressource to start ?
>>>
>>> Yes, here.
>>>
>>> Their is a device mkspec to start with: mkspecs/devices/linux-imx6-g++
>>> (ok, the wiki page is rather empty: http://qt-project.org/wiki/i.MX-6)
>>>
>>>
>>> I got good results with quick2 (and theirfor opengl)
>>> I'm using eglfs most of the time (including the QEglFsHooks within the
>>> device- mkspec)
>>>
>>> Haven't invested much in multimedia... got it running but without HW-
>>> acceleration.
>>>
>>>
>>> One additional note: I strongly recommend to not use ltib.
>>> Go for yocto (where freescale contributes) or some other proper build
>>> system.
>>>
>>>
>>> Greets
>>> Thomas
>>
>> Thanks Thomas,
>>
>> Is there any chance we can get you to share your recipe(s) and conf
>> files?
>
> Not much too share, I'm using:
> https://github.com/Freescale/fsl-community-bsp-platform
> (master at the moment, I'm not sure if the imx6 GPU-drivers landed in danny,
> yet)
>
> The only thing I've done within yocto is to removed x11 from DISTRO_FEATURES
> (I've edited poky/meta/conf/distro/include/default-distrovars.inc, I'm pretty
> sure their is a proper way of doing this!)
>
>
> The image file I'm last played with looked like this:
>
> "
> require core-image-base.bb
>
> IMAGE_FEATURES += "ssh-server-openssh"
> IMAGE_INSTALL += "strace gpu-viv-bin-mx6q gdb rsync libpng libpng12 git tslib"
>
> DEPENDS = "gpu-viv-bin-mx6q libpng"
> "
>
> (Their was a reason why I've added stuff in IMAGE_INSTALL and DEPENDS .. but I
> don't recall the reason)
>
>
> After the image is built, I'm using the generated sysroot and toolchain to
> build Qt (outside of yocto).
>  From my history:
> ../qt5/configure -opensource -confirm-license -make libs -device imx6 -device-
> option CROSS_COMPILE=/home/tsenyk/projects/oe-yocto/fsl-community-bsp/imx6-
> build-7/tmp/sysroots/x86_64-linux/usr/bin/armv7a-vfp-neon-poky-linux-
> gnueabi/arm-poky-linux-gnueabi- -sysroot /home/tsenyk/projects/oe-yocto/fsl-
> community-bsp/imx6-build-7/tmp/sysroots/imx6qsabrelite/ -prefix
> /usr/local/Trolltech/Qt5-yocto-imx6-7 -opengl es2 -no-pch -v
>
>
>
> Their is a meta-qt5 repo as well, I heard it's not 100% done yet.
> I haven't used it yet.
>

Thanks Thomas,

Simple as they are, these are good clues. Especially for Yocto N00bs 
like me.




More information about the Interest mailing list