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. Location of TSLIB(libts.so) and QT PLUGIN(libqtslibplugin.so)
Forum Updated to NodeBB v4.3 + New Features

Location of TSLIB(libts.so) and QT PLUGIN(libqtslibplugin.so)

Scheduled Pinned Locked Moved Mobile and Embedded
25 Posts 3 Posters 9.9k Views 1 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.
  • SGaistS Offline
    SGaistS Offline
    SGaist
    Lifetime Qt Champion
    wrote on last edited by
    #14

    hexdump will give you a cleaner output.

    Well, AFAIK, setting TSLIB_TSDEVICE to /dev/ttyS1 should get you started, no ?

    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
    • S Offline
      S Offline
      Sidii
      wrote on last edited by
      #15

      I tried setting the same:

      @
      export QT_QPA_PLATFORM=linuxfb
      export QT_PLUGIN_PATH=/home/Sid/plugins/generic
      export QT_QPA_GENERIC_PLUGINS=tslib
      export QT_QPA_FONTDIR=/home/Sid/fonts
      export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/Sid
      export TSLIB_FBDEVICE=/dev/fb0
      export TSLIB_TSDEVICE=/dev/ttyS1 -------->>SEE THIS
      export TSLIB_PLUGINDIR=/home/Sid/tslib_plugins
      export TSLIB_CONFFILE=/home/Sid/ts.conf

      @

      But when i run ./ts_test, i get no output :(
      The program keeps running without any output unit i give Ctrl+C

      1 Reply Last reply
      0
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #16

        Did you run ts_calibrate first ?

        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
        • S Offline
          S Offline
          Sidii
          wrote on last edited by
          #17

          Yes, no output from ts_calibrate also..

          1 Reply Last reply
          0
          • S Offline
            S Offline
            Sidii
            wrote on last edited by
            #18

            and if i do

            @./ts_print@

            i get following output:

            selected device is not a touchscreen I understand

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #19

              Which module are you using ?

              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
              • S Offline
                S Offline
                Sidii
                wrote on last edited by
                #20

                Sorry i did not get you. Module??

                1 Reply Last reply
                0
                • SGaistS Offline
                  SGaistS Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on last edited by
                  #21

                  Sorry I meant tslib plugin

                  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
                  • S Offline
                    S Offline
                    Sidii
                    wrote on last edited by
                    #22

                    I downloaded TSLIB (tslib-1.0) from sourceforgenet. And then crosscompiled it for powerpc. and then modified qmake.conf to include soure and libs. Also test lib test was successful.

                    I copied libqtslibplugin.so to plugins/generic folder.

                    1 Reply Last reply
                    0
                    • SGaistS Offline
                      SGaistS Offline
                      SGaist
                      Lifetime Qt Champion
                      wrote on last edited by
                      #23

                      Not the Qt tslib plugin, the plugin from tslib itself

                      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
                      • T Offline
                        T Offline
                        T4QT
                        wrote on last edited by
                        #24

                        unfortunately I followed this conversation but there is no fruitful outcome that any one can follow:

                        1 Reply Last reply
                        0
                        • T Offline
                          T Offline
                          T4QT
                          wrote on last edited by
                          #25

                          unfortunately I followed this conversation but there is no fruitful outcome that any one can follow:

                          1 Reply Last reply
                          0

                          • Login

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