[yocto] [dora] Compiling Qt 5.7 without meta-qt5

Karim ATIKI karim_atiki at hotmail.com
Tue Feb 7 03:05:29 PST 2017


I'm trying to create/integrate a recipe that builds Qt5.7 on a Architech Hachiko  (ARM) board.


This board is uniquely compatible with Poky DORA (for technical reasons, I don't have the choice).


Using meta-qt5 is excluded.


Actually? I succeeded to build qt5.7 with the Poky SDK and I would like to create a recipe that will call the "configure" and the "make / make install".


The command line looks like:


./configure -v -prefix /usr/local/qt5 -extprefix /opt/qt5-hachiko -device linux-arm-hachiko-g++ -device-option CROSS_COMPILE=/opt/poky/hachiko64/1.5.4/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi- -sysroot /opt/poky/hachiko64/1.5.4/sysroots/cortexa9hf-vfp-neon-poky-linux-gnueabi -release -shared -no-opengl -no-gstreamer -no-sql-sqlite -no-sql-sqlite2 -qt-zlib -no-gif -no-accessibility -qt-libpng -qt-libjpeg  -qt-xcb -device-option QMAKE_LFLAGS=-O1 -opensource -confirm-license -nomake examples -nomake tests -skip qt3d -skip qtwebengine -skip qtcanvas3d -no-icu -skip qtvirtualkeyboard


But in a Yocto recipe, which variable should I use for the following options:


 CROSS_COMPILE=/opt/poky/hachiko64/1.5.4/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-


-sysroot /opt/poky/hachiko64/1.5.4/sysroots/cortexa9hf-vfp-neon-poky-linux-gnueabi



Currently, the values points to the Poky SDK generated by Yocto.


Thanks.


Z.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20170207/9d2a0e0a/attachment.html>


More information about the yocto mailing list