Re: [beagleboard] Re: Start QT Application on bootup on Beaglebone Black

2014-09-11 Thread Mahendra Gunawardena
Tim,

Please look the this stackoverflow questions and response

Start QT Application on bootup on an Embedded Linux Device (Beaglebone
Black)
http://stackoverflow.com/questions/25701662/start-qt-application-on-bootup-on-an-embedded-linux-device-beaglebone-black

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.



On Wed, Sep 10, 2014 at 8:52 PM, Tim Cole timc...@rogers.com wrote:

 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



 On Tuesday, September 9, 2014 3:57:58 AM UTC-4, Mickae1 wrote:

 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,

 Le dimanche 7 septembre 2014 14:03:35 UTC+2, Mahendra Gunawardena a
 écrit :


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


 https://lh6.googleusercontent.com/-0ZA2QPRpNi8/VAxGxNd11yI/ABs/lvJbktseYgY/s1600/IMG_3852.JPG
 Expected Display output


 https://lh4.googleusercontent.com/-6jEzdpYTOQ0/VAxG86ZQFzI/AB0/LcFlyIPkwfE/s1600/IMG_3853.JPG
 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*

- Creating Ångström System Services on BeagleBone Black
http://mattrichardson.com/BeagleBone-System-Services/

 I have also posted this question on Stackoverflow
 http://stackoverflow.com/questions/25701662/start-qt-application-on-bootup-on-an-embedded-linux-device-beaglebone-black
 .

 Thank you in advance

 Mahen

  --
 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+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.


-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Re: Start QT Application on bootup on Beaglebone Black

2014-09-11 Thread Tim Cole
Thanks! That's more grist for my slowly grinding mental mill


On Thursday, September 11, 2014 3:29:15 PM UTC-4, Mahendra Gunawardena 
wrote:

 Tim,

 Please look the this stackoverflow questions and response

 Start QT Application on bootup on an Embedded Linux Device (Beaglebone 
 Black) 
 http://stackoverflow.com/questions/25701662/start-qt-application-on-bootup-on-an-embedded-linux-device-beaglebone-black

 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.
  


 On Wed, Sep 10, 2014 at 8:52 PM, Tim Cole tim...@rogers.com javascript:
  wrote:

 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



 On Tuesday, September 9, 2014 3:57:58 AM UTC-4, Mickae1 wrote:

 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,

 Le dimanche 7 septembre 2014 14:03:35 UTC+2, Mahendra Gunawardena a 
 écrit :


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


 https://lh6.googleusercontent.com/-0ZA2QPRpNi8/VAxGxNd11yI/ABs/lvJbktseYgY/s1600/IMG_3852.JPG
 Expected Display output


 https://lh4.googleusercontent.com/-6jEzdpYTOQ0/VAxG86ZQFzI/AB0/LcFlyIPkwfE/s1600/IMG_3853.JPG
 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*

- Creating Ångström System Services on BeagleBone Black 
http://mattrichardson.com/BeagleBone-System-Services/

 I have also posted this question on Stackoverflow 
 http://stackoverflow.com/questions/25701662/start-qt-application-on-bootup-on-an-embedded-linux-device-beaglebone-black
 .

 Thank you in advance

 Mahen

  -- 
 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 javascript:.
 For more options, visit https://groups.google.com/d/optout.




-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Re: Start QT Application on bootup on Beaglebone Black

2014-09-09 Thread Maxim Podbereznyy
enable autologin in Angstrom
add to the end of /etc/profile this line

/home/root/projects/qt-projects/QTAccelerometer -qws


2014-09-09 11:57 GMT+04:00 Mickae1 mickamus...@gmail.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,

 Le dimanche 7 septembre 2014 14:03:35 UTC+2, Mahendra Gunawardena a écrit :


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


 https://lh6.googleusercontent.com/-0ZA2QPRpNi8/VAxGxNd11yI/ABs/lvJbktseYgY/s1600/IMG_3852.JPG
 Expected Display output


 https://lh4.googleusercontent.com/-6jEzdpYTOQ0/VAxG86ZQFzI/AB0/LcFlyIPkwfE/s1600/IMG_3853.JPG
 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*

- Creating Ångström System Services on BeagleBone Black
http://mattrichardson.com/BeagleBone-System-Services/

 I have also posted this question on Stackoverflow
 http://stackoverflow.com/questions/25701662/start-qt-application-on-bootup-on-an-embedded-linux-device-beaglebone-black
 .

 Thank you in advance

 Mahen

  --
 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+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.




-- 
LinkedIn - http://www.linkedin.com/in/maximpodbereznyy
Company - http://www.linkedin.com/company/mentorel
Facebook - https://www.facebook.com/mentorel.company

-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.