-qt-mouse-tslib: invalid command-line switch when cross-compiling Qt5.3.2



  • I need to run Qt applications on arm board,and i tried to cross-compile Qt5.3.2 with configure options below:
    ./configure -qt-mouse-tslib -qt-mouse-pc -release -no-opengl -device imx6 -xplatform linux-arm-gnueabi-g++ -optimized-qmake -pch -qt-sql-sqlite -qt-libjpeg -qt-zlib -no-opengl -no-sse2 -no-openssl -no-nis -no-cups -no-glib -no-xcursor -no-xfixes -no-xrandr -no-xrender -no-separate-debug-info -prefix /opt/Qt520141010 -no-c++11 -no-pkg-config -v

    and error occuors as:
    -qt-mouse-tslib: invalid command-line switch
    -qt-mouse-pc: invalid command-line switch
    anyone tell me why and how to fix this?


  • Lifetime Qt Champion

    Hi and welcome to devnet,

    As silly as it may sound, don't pass that switch. They are Qt 4 configure switches and not part of Qt 5's configure process.

    IIRC -tslib is the switch for Qt 5 and for standard devices, evdev is used.

    You can use configure --help to see what options you have.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.