Qt4.8.6 compilation issue using toolchain for ARM

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Qt4.8.6 compilation issue using toolchain for ARM

1,885件の閲覧回数
Subodh_K
Contributor I

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++.

0 件の賞賛
返信
1 返信

821件の閲覧回数
peterchiu
Contributor II

Hi Subodh Kant

Maybe your can try your filesystem path (lib & include) in QMAKE_INCDIR & QMAKE_LIBDIR.

0 件の賞賛
返信