Unsolved Add Feature 'tslib' Error: pre-condition 'libs.tslib' failed
-
Hi, I got problem when add tslib in configure.
It says: ERROR: Feature 'tslib' was enabled, but the pre-condition 'libs.tslib' failed.I searched many page, and fix many conf, but it still not work.
I have compiled PC X11 version before compile arm version, is it relative? should I do something clean?my qtbase/mkspecs/linux-arm-gnueabi-g++/qmake.conf:
MAKEFILE_GENERATOR = UNIX CONFIG += incremental QMAKE_INCREMENTAL_STYLE = sublib QT_QPA_DEFAULT_PLATFORM = linuxfb QMAKE_CFLAGS_RELEASE += -O2 -march=armv7-a -lts QMAKE_CXXFLAGS_RELEASE += -O2 -march=armv7-a -lts include(../common/linux.conf) include(../common/gcc-base-unix.conf) include(../common/g++-unix.conf) QMAKE_INCDIR += /opt/tslib/include QMAKE_LIBDIR += /opt/tslib/lib # modifications to g++.conf QMAKE_CC = /opt/gcc-linaro-6.3.1-2017.05-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc -lts QMAKE_CXX = /opt/gcc-linaro-6.3.1-2017.05-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -lts QMAKE_LINK = /opt/gcc-linaro-6.3.1-2017.05-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -lts QMAKE_LINK_SHLIB = /opt/gcc-linaro-6.3.1-2017.05-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -lts # modifications to linux.conf QMAKE_AR = arm-linux-gnueabihf-ar cqs QMAKE_OBJCOPY = arm-linux-gnueabihf-objcopy QMAKE_NM = arm-linux-gnueabihf-nm -P QMAKE_STRIP = arm-linux-gnueabi-strip load(qt_config)
my cmd:
./configure -verbose \ -prefix /opt/qt5.9.1 \ -confirm-license \ -opensource \ -release \ -make libs \ -xplatform linux-arm-gnueabi-g++ \ -optimized-qmake \ -pch \ -sql-sqlite -sqlite \ -qt-libjpeg \ -qt-libpng \ -qt-zlib \ -tslib \ -no-opengl \ -no-sse2 \ -no-openssl \ -no-cups \ -no-glib \ -no-dbus \ -no-xcb \ -no-separate-debug-info \ -I/opt/tslib/include -L/opt/tslib/lib \ -make examples -nomake tools -nomake tests -no-iconv
-
Hi and welcome to devnet,
do you have an ARM build of tslib ?