developpment QT and tslib

Started by mimi1962, October 05, 2014, 11:20:08 AM

Previous topic - Next topic

mimi1962

hello,

i would to compile qt4.8.5 with tslib

i have installed tslib in /usr/local/tslib

i launch the ./configure with ./configure -xplatform qws/linux-arm-g++ -embedded arm -prefix /usr/local/qt-embedded -opensource -confirm-license -qt-gfx-linuxfb -qt-gfx-vnc -no-largefile  -exceptions -no-accessibility -no-webkit -no-qt3support -no-sse2 -qt-zlib -no-gif -no-libtiff -qt-libpng -no-libmng -qt-libjpeg -no-nis -no-cups -depths 16 -qt-kbd-linuxinput -nomake demos -nomake examples -nomake translations -qt-mouse-linuxinput -qt-mouse-tslib

and this qmake.conf

#-----------------------------------------------------------------------------------------------------
#
# qmake configuration for building with arm-linux-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-linux-gnueabihf-gcc -mcpu=cortex-a7 -mtune=cortex-a7 -O0 -mfpu=neon
QMAKE_CXX               = arm-linux-gnueabihf-g++ -mcpu=cortex-a7 -mtune=cortex-a7 -O0 -mfpu=neon
QMAKE_LINK              = arm-linux-gnueabihf-g++ -mcpu=cortex-a7 -mtune=cortex-a7 -O0 -mfpu=neon
QMAKE_LINK_SHLIB        = arm-linux-gnueabihf-g++ -mcpu=cortex-a7 -mtune=cortex-a7 -O0 -mfpu=neon

# modifications to linux.conf
QMAKE_AR                = arm-linux-gnueabihf-ar cqs
QMAKE_OBJCOPY           = arm-linux-gnueabihf-objcopy
QMAKE_STRIP             = arm-linux-gnueabihf-strip
QMAKE_RANLIB            = arm-linux-gnueabihf-ranlib

# modifications to gcc-base.conf
QMAKE_LIBS             += -lrt

# tslib
QMAKE_INCDIR  += /usr/local/tslib/include
QMAKE_LIBDIR  += /usr/local/tslib/lib
QMAKE_LFLAGS += -Wl,-rpath-link=/usr/local/tslib/lib

load(qt_config)
#-----------------------------------------------------------------------------------------------------


and i have this error message:

The tslib functionality test failed!
You might need to modify the include and library search paths by editing
QMAKE_INCDIR and QMAKE_LIBDIR in
/root/qt-everywhere-opensource-src-4.8.5/mkspecs/qws/linux-arm-g++.

why? and that have t i make?

best regard

michel