AnsweredAssumed Answered

Qt4.8.6 compilation issue using toolchain for ARM

Question asked by Subodh Kant on Nov 5, 2014
Latest reply on Mar 23, 2016 by Peter Chiu

Hi all,

I am compiling Qt 4.8.6 package  for ARM from Toolchain (arm-poky-linux-gnueabi-) . I have made changes in configuration file qmake.conf as per my need

# qmake configuration for building with arm-poky-linux-gnueabi-g++

include(../../common/linux.conf)

include(../../common/gcc-base-unix.conf)

include(../../common/g++-unix.conf)

include(../../common/qws.conf)

 

# modifications to g++.conf

QMAKE_CC                  = arm-poky-linux-gnueabi-gcc

QMAKE_CXX                = arm-poky-linux-gnueabi-g++

QMAKE_LINK                = arm-poky-linux-gnueabi-g++

QMAKE_LINK_SHLIB     = arm-poky-linux-gnueabi-g++

 

# modifications to linux.conf

QMAKE_AR                  = arm-poky-linux-gnueabi-ar cqs

QMAKE_OBJCOPY       = arm-poky-linux-gnueabi-objcopy

QMAKE_STRIP             = arm-poky-linux-gnueabi-strip

 

QMAKE_LFLAGS             = -lts

QMAKE_INCDIR             = /home/subodh/tslib_arm2/include/

QMAKE_LIBDIR              = /home/subodh/tslib_arm2/lib/

 

QMAKE_CFLAGS_RELEASE      =   -O2 -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp

QMAKE_CXXFLAGS_RELEASE  =   -O2 -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp

load(qt_config)

 

And for configuring  I am using the command as:

./configure -embedded arm -xplatform qws/linux-arm-g++ \

-qt-mouse-tslib -qt-gfx-linuxfb \

-little-endian -prefix-install -depths 16,18,24 -optimized-qmake


for Build :

make

sudo make install


During configuration i am getting  issue like

The tslib functionality test failed!

You might need to modify the include and library search paths by editing

QMAKE_INCDIR and QMAKE_LIBDIR in

/home/subodh/qt-everywhere-opensource-src-4.8.6/mkspecs/qws/linux-arm-g++.

Outcomes