Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. How do I download a program with the "tslib plugin" from qt creator?
Forum Updated to NodeBB v4.3 + New Features

How do I download a program with the "tslib plugin" from qt creator?

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
12 Posts 3 Posters 732 Views
  • 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.
  • A Offline
    A Offline
    Alexey_Golubev
    wrote on last edited by Alexey_Golubev
    #1

    Hello everyone.
    How do I run qt creator using -plugin tslib?
    By type:

    root@pi:~# /home/pi/Qt_Projects/kiab/kia -tslib plugin
    

    qt.png

    jsulmJ 1 Reply Last reply
    0
    • A Alexey_Golubev

      Hello everyone.
      How do I run qt creator using -plugin tslib?
      By type:

      root@pi:~# /home/pi/Qt_Projects/kiab/kia -tslib plugin
      

      qt.png

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @Alexey_Golubev The parameters for the executable go to "Command line arguments:".

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      A 1 Reply Last reply
      1
      • jsulmJ jsulm

        @Alexey_Golubev The parameters for the executable go to "Command line arguments:".

        A Offline
        A Offline
        Alexey_Golubev
        wrote on last edited by
        #3

        @jsulm said in How do I download a program with the "tslib plugin" from qt creator?:

        "Command line arguments:".

        If you add "-plugin tslib" to "Command line arguments:" then I get the ts_setup error() failed (no such file or directory).

        jsulmJ 2 Replies Last reply
        0
        • Christian EhrlicherC Christian Ehrlicher moved this topic from General and Desktop on
        • andrA Offline
          andrA Offline
          andr
          wrote on last edited by
          #4

          root@pi:~# /home/pi/Qt_Projects/kiab/kia -tslib plugin - really "kia"? then the "Alternative executable on device should be " /home/pi/Qt_Projects/kiab/kia " .

          1 Reply Last reply
          0
          • A Offline
            A Offline
            Alexey_Golubev
            wrote on last edited by
            #5

            This is a typo.
            Correctly:
            root@pi:~# /home/pi/Qt_Projects/kiab/kiab -plugin tslib

            1 Reply Last reply
            0
            • andrA Offline
              andrA Offline
              andr
              wrote on last edited by
              #6

              For that, you don't need the "Alternative executable", and the arguments should indeed go to the "Command line arguments" field. You could try to run Creator in an environment that has 'QT_LOGGING_RULES="qtc.utils.process=true"' set. This will produce a lot output, including the ssh command that's effectively used to start your process. You could try that command from a command line and see whether it works or maybe get some insight what fails.

              1 Reply Last reply
              0
              • A Offline
                A Offline
                Alexey_Golubev
                wrote on last edited by
                #7

                andr Thank you for your reply.

                Can you explain QT_LOGGING_RULES in more detail?
                I'm new to qt creator. And I don't understand everything.

                1 Reply Last reply
                0
                • A Alexey_Golubev

                  @jsulm said in How do I download a program with the "tslib plugin" from qt creator?:

                  "Command line arguments:".

                  If you add "-plugin tslib" to "Command line arguments:" then I get the ts_setup error() failed (no such file or directory).

                  jsulmJ Offline
                  jsulmJ Offline
                  jsulm
                  Lifetime Qt Champion
                  wrote on last edited by
                  #8

                  @Alexey_Golubev said in How do I download a program with the "tslib plugin" from qt creator?:

                  ts_setup error() failed

                  Did you try to exeute exact same command manuall to see whether it works?

                  https://forum.qt.io/topic/113070/qt-code-of-conduct

                  A 1 Reply Last reply
                  0
                  • jsulmJ jsulm

                    @Alexey_Golubev said in How do I download a program with the "tslib plugin" from qt creator?:

                    ts_setup error() failed

                    Did you try to exeute exact same command manuall to see whether it works?

                    A Offline
                    A Offline
                    Alexey_Golubev
                    wrote on last edited by
                    #9

                    @jsulm said in How do I download a program with the "tslib plugin" from qt creator?:

                    Did you try to exeute exact same command manuall to see whether it works?

                    Yes.

                    root@pi:~# /home/pi/Qt_Projects/kiab/kiab -plugin tslib  all work.
                    
                    1 Reply Last reply
                    0
                    • A Alexey_Golubev

                      @jsulm said in How do I download a program with the "tslib plugin" from qt creator?:

                      "Command line arguments:".

                      If you add "-plugin tslib" to "Command line arguments:" then I get the ts_setup error() failed (no such file or directory).

                      jsulmJ Offline
                      jsulmJ Offline
                      jsulm
                      Lifetime Qt Champion
                      wrote on last edited by
                      #10

                      @Alexey_Golubev said in How do I download a program with the "tslib plugin" from qt creator?:

                      (no such file or directory)

                      Then the next question is: what file is missing?
                      Is it the plug-in library file or some plug-in dependency?

                      https://forum.qt.io/topic/113070/qt-code-of-conduct

                      A 2 Replies Last reply
                      0
                      • jsulmJ jsulm

                        @Alexey_Golubev said in How do I download a program with the "tslib plugin" from qt creator?:

                        (no such file or directory)

                        Then the next question is: what file is missing?
                        Is it the plug-in library file or some plug-in dependency?

                        A Offline
                        A Offline
                        Alexey_Golubev
                        wrote on last edited by Alexey_Golubev
                        #11

                        @jsulm said in How do I download a program with the "tslib plugin" from qt creator?:

                        Then the next question is: what file is missing?

                        ts_setup() failed (No such file or directory)
                        

                        @jsulm said in How do I download a program with the "tslib plugin" from qt creator?:

                        Is it the plug-in library file or some plug-in dependency?

                        I can't know.

                        Qt creator does not correctly form the order of commands. It runs a non-plugin tslib .
                        And then it sends -plugin tslib .

                        And I have to send it right away

                        root@pi:~# /home/pi/Qt_Projects/kiab/kiab -plugin tslib
                        
                        1 Reply Last reply
                        0
                        • jsulmJ jsulm

                          @Alexey_Golubev said in How do I download a program with the "tslib plugin" from qt creator?:

                          (no such file or directory)

                          Then the next question is: what file is missing?
                          Is it the plug-in library file or some plug-in dependency?

                          A Offline
                          A Offline
                          Alexey_Golubev
                          wrote on last edited by
                          #12

                          @jsulm said in How do I download a program with the "tslib plugin" from qt creator?:

                          Is it the plug-in library file or some plug-in dependency?

                          I added libraries:

                          TSLIB_TSDEVICE=/dev/input/event1
                          TSLIB_FBDEVICE=/dev/fb0
                          TSLIB_CONFFILE=/etc/ts.conf
                          TSLIB_CALIBFILE=/etc/pointercal
                          TSLIB_PLUGINDIR=/usr/lib/arm-linux-gnueabihf/ts0
                          QT_QPA_FB_TSLIB=1
                          QT_QPA_PLATFORM=linuxfb:fb=/dev/fb0
                          

                          not error ts_setup() failed (No such file or directory)

                          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