Results 1 to 4 of 4

Thread: any platform independent way to make the app auto-start?

  1. #1
    Join Date
    Sep 2008
    Location
    Bangladesh
    Posts
    17
    Qt products
    Qt4
    Platforms
    Windows
    Thanks
    6

    Default any platform independent way to make the app auto-start?

    The application I'm now working with needs to get started when the the system starts and I intend to implement this programmatically. I've read the QSettings doc, searched google and this forum too but couldn't find any generic solution to serve the purpose.

    Having read need of some help and How to auto-start a Qt app when X starts? , it seemed to me that there's no uniform way to do this for all Qt-supported platforms.

    Please correct me if I'm wrong. If there's a uniform way to do this, please leave a hint.

  2. #2
    Join Date
    Jan 2006
    Location
    Alingsås, Sweden
    Posts
    437
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    3
    Thanked 39 Times in 39 Posts

    Default Re: any platform independent way to make the app auto-start?

    I don't think that there is such a way.

  3. The following user says thank you to e8johan for this useful post:

    Ferdous (16th June 2009)

  4. #3
    Join Date
    Nov 2008
    Posts
    142
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows
    Thanks
    3
    Thanked 20 Times in 20 Posts

    Default Re: any platform independent way to make the app auto-start?

    There seems to be no Qt way to do this for all of Qt's supported platforms, so you probably have to implement this for every platform you want to support. This seems to be a perfect example for why it is good that Qt let's you detect what platform an application is compiled on

    For the Unix-like platforms, maybe the FreeDesktop Autostart Specification might save you some trouble.

  5. The following user says thank you to rexi for this useful post:

    Ferdous (16th June 2009)

  6. #4
    Join Date
    Sep 2008
    Location
    Bangladesh
    Posts
    17
    Qt products
    Qt4
    Platforms
    Windows
    Thanks
    6

    Default Re: any platform independent way to make the app auto-start?

    Thanks for your responses.

Similar Threads

  1. Replies: 3
    Last Post: 4th February 2008, 20:28
  2. Crash handler on Win32
    By niko in forum Qt Programming
    Replies: 3
    Last Post: 12th November 2007, 20:41
  3. Compiling with Qmake/Make
    By VireX in forum Newbie
    Replies: 25
    Last Post: 22nd February 2007, 06:57
  4. Auto start USB flash
    By oashton in forum KDE Forum
    Replies: 3
    Last Post: 23rd January 2006, 00:14

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
  •  
Qt is a trademark of The Qt Company.