Home > Back-end >  [raspberries pie] will QT executable program as a supplement to the rev, restart boot, why not start
[raspberries pie] will QT executable program as a supplement to the rev, restart boot, why not start

Time:10-05

Good bosses, a raspberry pie question want to ask,
I wrote a QT program that generates an executable program, now want to boot from the program, try the 4 methods, there isn't a feasible,
1, first generates a sh script file, as shown in the figure below:

2,/etc/rc. Local add script

No response after restart
3, try adding service program

Add testboot into service, boot from qi, there is no reaction, using the command line start test,
4, try to desktop autostart start

No response after restart
5, try. Profile writing environment variable

This has been successful, after a few successful execution after startup into a X



Has been the XX now, do not know why? Can someone help me answer the? There is no problem to QT program,
  • Related