Page 1 of 1

Change Qt version on Jethro

Posted: Wed Apr 19, 2017 11:17 am
by marco.ferretti

how is possible to change the Qt version of Jethro distro from Qt 5.5.1 to Qt 5.8 ?
I need to build the fsl-image-qt5 and meta-toolchain-qt5 with Qt 5.8 version.


Re: Change Qt version on Jethro

Posted: Thu Apr 20, 2017 12:26 pm
by varigigi
Hi Marco,
QT5 support in Yocto builds is provided from meta-qt5 layer, but at the time being latest supported version is 5.7 available with Yocto Morty.
Please also consider that unless you are skilled about Yocto framework, is usually discouraged mixing layers versions: the only version tested with Yocto Jethro is just jethro branch of meta-qt5, providing QT 5.5.1.
If you need a newer QT version, I would suggest to switch to our latest Yocto Morty release using QT 5.7.1: ... to_release


Re: Change Qt version on Jethro

Posted: Thu Apr 20, 2017 2:37 pm
by marco.ferretti
I made a lot of changes in the device tree and kernel configuration, so I prefer to maintain the Jethro version.
To change from Qt 5.5.1 to Qt 5.7
I moved meta-qt5 to morty branch and rebuild the image.

I'm able to obtain and image that work, but all Qt5 demos give me a segmentation fault.

cd /usr/share/quitbattery-1.0.0/
./QUItBattery -platform eglfs

QEglFSVivIntegration will set environment variable FB_MULTI_BUFFER=2 to enable double buffering and vsync.
If this is not desired, you can override this via: export QT_EGLFS_IMX6_NO_FB_MULTI_BUFFER=1
Unable to query physical screen size, defaulting to 100 dpi.
Segmentation fault

Do you have idea about the issue ?

Re: Change Qt version on Jethro

Posted: Fri Apr 21, 2017 2:13 pm
by varigigi
With Morty we added some additional feature to QT5: ... 5.bbappend
but I'm not sure this can be related with your segmentation faults.

Please also consider that community tested QT 5.7.1 in Morty on iMX6 with a different set of Vivante binaries and a different set of iMX6 related patches, aligned to latest kernel version.