Skip to content
  • 0 Votes
    2 Posts
    1k Views
    L

    Solved

    add to .pro :
    CONFIG += plugin static
    QTPLUGIN += qtslib qevdevkeyboard qevdevmouse qevdevtablet qevdevtouch

    Run (active all input device):
    $./test -plugin tslib -plugin evdevmouse -plugin evdevkeyboard

    :-)

    Static Plugin

  • 0 Votes
    3 Posts
    2k Views
    L
    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