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 729 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 4 Jun 2024, 11:38 last edited by Alexey_Golubev 6 Apr 2024, 11:40
    #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

    J 1 Reply Last reply 4 Jun 2024, 12:06
    0
    • A Alexey_Golubev
      4 Jun 2024, 11:38

      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

      J Offline
      J Offline
      jsulm
      Lifetime Qt Champion
      wrote on 4 Jun 2024, 12:06 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 4 Jun 2024, 12:53
      1
      • J jsulm
        4 Jun 2024, 12:06

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

        A Offline
        A Offline
        Alexey_Golubev
        wrote on 4 Jun 2024, 12:53 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).

        J 2 Replies Last reply 5 Jun 2024, 06:13
        0
        • C Christian Ehrlicher moved this topic from General and Desktop on 4 Jun 2024, 13:08
        • A Offline
          A Offline
          andr
          wrote on 4 Jun 2024, 14:36 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 5 Jun 2024, 01:45 last edited by
            #5

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

            1 Reply Last reply
            0
            • A Offline
              A Offline
              andr
              wrote on 5 Jun 2024, 05:49 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 5 Jun 2024, 06:02 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
                  4 Jun 2024, 12:53

                  @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).

                  J Offline
                  J Offline
                  jsulm
                  Lifetime Qt Champion
                  wrote on 5 Jun 2024, 06:13 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 5 Jun 2024, 06:15
                  0
                  • J jsulm
                    5 Jun 2024, 06:13

                    @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 5 Jun 2024, 06:15 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
                      4 Jun 2024, 12:53

                      @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).

                      J Offline
                      J Offline
                      jsulm
                      Lifetime Qt Champion
                      wrote on 5 Jun 2024, 06:20 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 5 Jun 2024, 09:39
                      0
                      • J jsulm
                        5 Jun 2024, 06:20

                        @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 5 Jun 2024, 09:39 last edited by Alexey_Golubev 6 May 2024, 09:40
                        #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
                        • J jsulm
                          5 Jun 2024, 06:20

                          @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 7 Jun 2024, 04:37 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

                          1/12

                          4 Jun 2024, 11:38

                          • Login

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