Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. QT 5.4 - Mouse , Kayboard , touch not work on arm device
Forum Updated to NodeBB v4.3 + New Features

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

Scheduled Pinned Locked Moved Mobile and Embedded
tslibqt 5qt 5.4statictouchscreenlinuxfbmini210s
3 Posts 2 Posters 2.2k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    lamp
    wrote on 12 Apr 2015, 07:56 last edited by
    #1

    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?

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 12 Apr 2015, 22:15 last edited by
      #2

      Hi and welcome to devnet,

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

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • L Offline
        L Offline
        lamp
        wrote on 13 Apr 2015, 08:25 last edited by lamp
        #3

        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

        1 Reply Last reply
        0

        1/3

        12 Apr 2015, 07:56

        • Login

        • Login or register to search.
        1 out of 3
        • First post
          1/3
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved