AnsweredAssumed Answered

Setting up environment after cross compiling QT5 for imx6

Question asked by Mario Rodriguez on Mar 4, 2014

I successfuly cross compile QT5 for imx6. I follow this guide: Building Qt5 using yocto on Wandboard - Wandboard Wiki

I created my toolchain with this: bitbake meta-toolchain Now I want to set on my environment the right Qmake version.  I am using an imx6 sabre lite board.

What variables do I need to change it?

I see that when creating a toolchain with QT4, the following variables are modified:

OE_QMAKE_CFLAGS= -O2 -pipe -g -feliminate-unused-debug-types

OE_QMAKE_LIBDIR_QT=/opt/poky/1.4.3/sysroots/armv7a-vfp-neon-poky-linux-gnueabi//usr/lib

OE_QMAKE_QT_CONFIG=/opt/poky/1.4.3/sysroots/armv7a-vfp-neon-poky-linux-gnueabi//usr/share/qtopia/mkspecs/qconfig.pri

QT_CONF_PATH=/opt/poky/1.4.3/sysroots/i686-pokysdk-linux//etc/qt.conf

OE_QMAKE_AR=arm-poky-linux-gnueabi-ar

OE_QMAKE_UIC3=/opt/poky/1.4.3/sysroots/i686-pokysdk-linux/usr/bin/uic34

OE_QMAKE_CXXFLAGS= -O2 -pipe -g -feliminate-unused-debug-types -fpermissive

OE_QMAKE_CXX=arm-poky-linux-gnueabi-g++  -march=armv7-a -mthumb-interwork -mfloat-abi=softfp -mfpu=neon --sysroot=/opt/poky/1.4.3/sysroots/armv7a-vfp-neon-poky-linux-gnueabi

OE_QMAKE_QDBUSXML2CPP=/opt/poky/1.4.3/sysroots/i686-pokysdk-linux/usr/bin/qdbusxml2cpp4

OE_QMAKE_INCDIR_QT=/opt/poky/1.4.3/sysroots/armv7a-vfp-neon-poky-linux-gnueabi//usr/include/qtopia

Do I need to adapt this variables for my toolchain for QT5?

 

Regards,

Mario

Outcomes