Change Qt version on Jethro

Moderators: Oren.R, Eran.M

marco.ferretti
Posts: 23
Joined: Tue Jan 19, 2016 4:13 pm

Change Qt version on Jethro

Postby marco.ferretti » Wed Apr 19, 2017 11:17 am

Hello,

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.


Thanks,
Marco.

varigigi
Posts: 52
Joined: Tue Nov 01, 2016 10:25 am

Re: Change Qt version on Jethro

Postby varigigi » Thu Apr 20, 2017 12:26 pm

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:
http://variwiki.com/index.php?title=VAR ... to_release

BR
Pier

marco.ferretti
Posts: 23
Joined: Tue Jan 19, 2016 4:13 pm

Re: Change Qt version on Jethro

Postby marco.ferretti » Thu Apr 20, 2017 2:37 pm

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.
E.G.:

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.
To override, set QT_QPA_EGLFS_PHYSICAL_WIDTH and QT_QPA_EGLFS_PHYSICAL_HEIGHT (in millimeters).
Segmentation fault

Do you have idea about the issue ?

varigigi
Posts: 52
Joined: Tue Nov 01, 2016 10:25 am

Re: Change Qt version on Jethro

Postby varigigi » Fri Apr 21, 2017 2:13 pm

With Morty we added some additional feature to QT5:
https://github.com/varigit/meta-varisci ... 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.

BR
Pier


Return to “Yocto”

Who is online

Users browsing this forum: No registered users and 3 guests

cron