Hi,
I'm developing a Qt-application for a embedded Linux device with a touchscreen and when I try to configure Qt to use tslib I get an error message as follows:
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/andreas/QT/qt-embedded-linux-opensource-src-4.5.1/mkspecs/qws/linux-arm-g++.
My procedure for building tslib:
# ./autogen.sh
# ./configure CC=arm-none-linux-gnueabi-gcc CXX=arm-none-linux-gnueabi-g++ \
-host=arm-none-linux-gnueabi -target=arm-none-linux-gnueabi \
-enable-static=no -enable-shared=yes
# make -k
# su -c "make -k install"
# ./autogen.sh
# ./configure CC=arm-none-linux-gnueabi-gcc CXX=arm-none-linux-gnueabi-g++ \
-host=arm-none-linux-gnueabi -target=arm-none-linux-gnueabi \
-enable-static=no -enable-shared=yes
# make -k
# su -c "make -k install"
To copy to clipboard, switch view to plain text mode
And Qt procedure:
# make confclean
# ./configure -embedded arm -shared -release -no-largefile -qt-sql-sqlite \
-no-qt3support -no-phonon -no-svg -no-scripttools -nomake demo -nomake \
examples -nomake doc -qt-decoration-default -no-opengl -qt-gfx-linuxfb \
-little-endian -no-phonon-backend -no-cups -qt-mouse-tslib \
-no-feature-cursor -no-kbd-usb -no-kbd-tty -no-mouse-linuxtp \
-no-gfx-multiscreen
# make confclean
# ./configure -embedded arm -shared -release -no-largefile -qt-sql-sqlite \
-no-qt3support -no-phonon -no-svg -no-scripttools -nomake demo -nomake \
examples -nomake doc -qt-decoration-default -no-opengl -qt-gfx-linuxfb \
-little-endian -no-phonon-backend -no-cups -qt-mouse-tslib \
-no-feature-cursor -no-kbd-usb -no-kbd-tty -no-mouse-linuxtp \
-no-gfx-multiscreen
To copy to clipboard, switch view to plain text mode
Then it fails with the error message above...
How do I get passed that? Detailed instructions would be appreciated
Bookmarks