How do I download a program with the "tslib plugin" from qt creator?
-
wrote on 4 Jun 2024, 11:38 last edited by Alexey_Golubev 6 Apr 2024, 11:40
-
Hello everyone.
How do I run qt creator using -plugin tslib?
By type:root@pi:~# /home/pi/Qt_Projects/kiab/kia -tslib plugin
@Alexey_Golubev The parameters for the executable go to "Command line arguments:".
-
@Alexey_Golubev The parameters for the executable go to "Command line arguments:".
wrote on 4 Jun 2024, 12:53 last edited by@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).
-
-
wrote on 4 Jun 2024, 14:36 last edited by
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 " .
-
wrote on 5 Jun 2024, 01:45 last edited by
This is a typo.
Correctly:
root@pi:~# /home/pi/Qt_Projects/kiab/kiab -plugin tslib -
wrote on 5 Jun 2024, 05:49 last edited by
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.
-
wrote on 5 Jun 2024, 06:02 last edited by
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. -
@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).
@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?
-
@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?
wrote on 5 Jun 2024, 06:15 last edited by@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.
-
@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).
@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? -
@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?wrote on 5 Jun 2024, 09:39 last edited by Alexey_Golubev 6 May 2024, 09:40@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
-
@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?wrote on 7 Jun 2024, 04:37 last edited by@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/12