Results 1 to 4 of 4

Thread: How to start QT application on power up

  1. #1
    Join Date
    Feb 2015
    Posts
    4
    Qt products
    Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default How to start QT application on power up

    I want my qt applicaton to automatically start once i power up my beaglebone running debian linux. I made a script to run the application in /etc/init.d and it works but i cant figure out how to start it automatically on start up. I normally run the app my logging in as root then going to the project directory and running myQtAppilcation -qws. I dont have a desktop.

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: How to start QT application on power up

    So you say it works but you don't know how to use it? Or what is the problem?

    And how is writing a system script related to Qt Embedded programming?
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  3. #3
    Join Date
    Feb 2015
    Posts
    4
    Qt products
    Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: How to start QT application on power up

    I tested the script by typing /etc/init.d/myQtApplicationScript start in the terminal, i want to start the script when i power up the beaglebone to automatically start my Qt application.

  4. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: How to start QT application on power up

    Usually you'd link the script to somewhere inside /etc/rcX.d where X depends on the runlevel your system is using for regular operation. This has nothing to do with Qt though.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. Qt start new application and quit
    By TheQuake in forum Qt Programming
    Replies: 3
    Last Post: 4th January 2015, 08:22
  2. to set start up application in beagleboard
    By mehkants in forum Qt for Embedded and Mobile
    Replies: 1
    Last Post: 8th September 2012, 06:07
  3. Start application in QT
    By eltecprogetti in forum Qt Programming
    Replies: 2
    Last Post: 12th April 2012, 09:46
  4. Windows CE + Application does start
    By uygar in forum Installation and Deployment
    Replies: 0
    Last Post: 21st October 2011, 18:10
  5. How to start external application from QT?
    By TomASS in forum Newbie
    Replies: 10
    Last Post: 7th November 2009, 17:57

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.