I have an i.MX6DL SABRE board, and I'm trying to get a modern build for it. I'm looking to find a Yocto release, 3.14.52 kernel, Qt5.7.1 or greater.
I attempted to sync/build this:
$ repo init -u git://git.freescale.com/imx/fsl-arm-yocto-bsp.git -b imx-3.14.52-1.1.0_ga
$ repo sync
$ MACHINE=imx6dlsabresd source fsl-setup-release.sh -b build_qt5 -e fb
$ bitbake -k fsl-image-qt5
But it seem that this package only contain Qt5.5
But if I change the /sources/meta-qt5 by command:
$ git clone -b master https://github.com/meta-qt5/meta-qt5.git
and then try again
$ MACHINE=imx6dlsabresd source fsl-setup-release.sh -b build_qt5 -e fb
$ bitbake -k fsl-image-qt5
It shows that:
ERROR: ParseError at /home/scout/freescale-3.14-try2/sources/meta-qt5/classes/qmake5_base.bbclass:48: Could not inherit file classes/remove-libtool.bbclass
and then stop
Can someone help me?
2017/08/04 update:
If I edit ~/freescale-3.14-try2/sources/meta-qt5/classes/qmake5_base.bbclass file
Ln 50 : -- inherit qmake5_paths remove-libtool
++ inherit qmake5_paths
It can go through, but still stop at the other qt build task.
Now status : pending, and go through another way. (Try porting to kernel4.1.15 EX: https://community.nxp.com/docs/DOC-333580 )
Thanks everyone who answer to me, and if anyone still have some answer to share, I would be very grateful.
pls refer to the qt document, hope helpful for you
Building Your Own Embedded Linux Image | Qt 5.9.1 for Device Creation
Thanks for your response.
I've already done this part with Qt5.9 with 30days license. But the default kernel is 4.X, is there anyway change the Boot2Qt's Yocto to fit the kernel 3.14.
yes, you should update your kernel, so you must use 3.14.52 kernel and qt 5.7??
Qt 5.6 is ok, because I need to use Qt can bus.
If I can't use 3.14.52 kernel, I need to porting to 4.X kernel myself. It's maybe a very big effort.