Start QT Application on bootup on Beaglebone Black

150 views
Skip to first unread message

Mahendra Gunawardena

unread,
Sep 7, 2014, 8:03:35 AM9/7/14
to beagl...@googlegroups.com

Below is picture of the display on bootup. Expected display output is overwritten by Angstrom screen 

Expected Display output

The expected display output briefly appears but is overwritten by the Angstrom text based image. But occasionally the expected display appears. Then the dynamic widgets update the screen but the static information is not visible. The issues appears to be timing, and if the BBB can be forced to start the QT application after complete bootup of BBB that would suffices the current needs.
 
Application is been started as a service. Below is the content of the service file

[Unit]
Description=QTAccelerometer GUI
After=systemd-user-sessions.service

[Service]
WorkingDirectory=/home/root/projects/qt-projects
ExecStart=/home/root/projects/qt-projects/QTAccelerometer -qws
SyslogIdentifier=QTAccelerometer
Restart=on-failure
RestartSec=5

[Install]
Alias=display-manager.service

Below are the other options tried without success

[Install]
WantedBy=multi-user.target
WantedBy=graphical.target

References

I have also posted this question on Stackoverflow.

Thank you in advance

Mahen

Mickae1

unread,
Sep 9, 2014, 3:57:58 AM9/9/14
to beagl...@googlegroups.com
you should switch to debian, you will have more help from the Debian community ..... I've a BBB under debian which start QT at bootup !

Micka,

Maxim Podbereznyy

unread,
Sep 9, 2014, 4:06:39 AM9/9/14
to beagleboard
enable autologin in Angstrom
add to the end of /etc/profile this line
/home/root/projects/qt-projects/QTAccelerometer -qws&

--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--

Tim Cole

unread,
Sep 10, 2014, 8:52:14 PM9/10/14
to beagl...@googlegroups.com
You've accomplished more than I've managed to do. Could you suggest some references I could check so I can figure out what silly mistakes I'm making?

Cheers, Tim

Mahendra Gunawardena

unread,
Sep 11, 2014, 3:29:15 PM9/11/14
to beagl...@googlegroups.com
Tim,

Please look the this stackoverflow questions and response


Based on this input I was able to resolve the issue. I will post my end solution in due course.


*****************************************************************************

Mickae1 and Maxim

I do understand Angstrom distribution is something in the past. Have a come across a good source to configure QT development for BBB/Debian on a Host Ubuntu. 

I used Derek Molloy suggestions and it worked well for QT development for BBB/Angstrom on Host Ubuntu. 

I do understand that I need to make the change BBB/Debian.

Thank you for all the great input.
 


--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to a topic in the Google Groups "BeagleBoard" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/beagleboard/E6qDY9Eydc0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to beagleboard...@googlegroups.com.

Tim Cole

unread,
Sep 11, 2014, 5:25:08 PM9/11/14
to beagl...@googlegroups.com
Thanks! That's more grist for my slowly grinding mental mill....

Julien Charton

unread,
Jul 12, 2015, 6:26:18 PM7/12/15
to beagl...@googlegroups.com

Dear Micka,
could you please tell us more about your BBB starting QT at bootup ?
A description of your configuration would be very helpful

best regards,
julien
Reply all
Reply to author
Forward
0 new messages