QT 5.4 - Mouse , Kayboard , touch not work on arm device



  • Hi
    compile static Qt 5.4.0 with this config :
    ./configure -prefix /opt/installed/arm/QtEmbededd-5.4-static-tiny210/ -opensource -confirm-license -no-xcb -xplatform linux-arm-gnueabi-g++ -nomake examples -feature-THREAD -feature-CONCURRENT -feature-SOUND -feature-EFFECTS -no-openssl -lpthread -optimized-qmake -no-cups -qt-zlib -static -qt-libjpeg -qt-libpng -qt-sql-sqlite -qpa linuxfb -linuxfb

    and run :

    $chartthemes -platform linuxfb -plugin tslib
    But Mouse, kayboard, touch not work.
    how to solve this problem?


  • Lifetime Qt Champion

    Hi and welcome to devnet,

    Did you have the tslib available at compilation time to enable its support ? Did you configure it ?



  • add -tslib and recompile qt and chart example but not solved !

    ./configure -prefix /opt/installed/arm/QtEmbededd-5.4-static-tiny210/ -opensource -confirm-license -no-xcb -xplatform linux-arm-gnueabi-g++ -nomake examples -feature-THREAD -feature-CONCURRENT -feature-SOUND -feature-EFFECTS -no-openssl -lpthread -optimized-qmake -no-cups -qt-zlib -static -qt-libjpeg -qt-libpng -qt-sql-sqlite -qpa linuxfb -linuxfb -tslib

    export TSLIB_FBDEVICE='/dev/fb0'
    export TSLIB_TSDEVICE=/dev/touchscreen-1wire
    export TSLIB_PLUGINDIR='/usr/lib/ts'
    export TSLIB_CONFFILE='/etc/ts.conf'
    export TSLIB_CALIBFILE='/etc/pointercal'
    export TSLIB_CONSOLEDEVICE='none'
    export TSLIB_TSEVENTTYPE='INPUT'

    export QT_DEBUG_PLUGINS=1

    cat /dev/touchscreen-1wire | hexdump
    0000000 0fff 0fff 07c6 8629 07c5 8626 07c5 8626
    0000010 0fff 0fff 0966 85bb 096c 85b9 0968 85a8
    0000020 0968 85a8 0fff 0fff 0964 85ba 0938 85a9
    0000030 08ba 8571 085d 8559 07a1 8573 0736 8599

    $chartthemes -platform linuxfb -plugin tslib
    QIconvCodec::convertToUnicode: using Latin-1 for conversion, iconv_open failed
    QIconvCodec::convertFromUnicode: using Latin-1 for conversion, iconv_open failed
    QFactoryLoader::QFactoryLoader() ignoring "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.2" since plugins are disabled in static buils
    QFactoryLoader::QFactoryLoader() ignoring "org.qt-project.Qt.QPlatformInputContextFactoryInterface" since plugins are disabled in static builds
    QFactoryLoader::QFactoryLoader() ignoring "org.qt-project.Qt.QGenericPluginFactoryInterface" since plugins are disabled in static builds
    QFactoryLoader::QFactoryLoader() ignoring "org.qt-project.Qt.QStyleFactoryInterface" since plugins are disabled in static builds



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