Results 1 to 6 of 6

Thread: How to launch an application automatically ?

  1. #1
    Join Date
    Jan 2007
    Posts
    326
    Thanks
    42
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    MacOS X

    Default How to launch an application automatically ?

    Hi all

    working on Qt4.4 om my intel mac machine, i want to know, how to execute an application automatically at the scheduled time using Qt.
    Always Believe in Urself
    Merry

  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 launch an application automatically ?

    Do you want your application to run some other application at a specified time or do you want the system to run your application at a specified time?

  3. #3
    Join Date
    Jan 2007
    Posts
    326
    Thanks
    42
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    MacOS X

    Default Re: How to launch an application automatically ?

    I want the system to run my application at the specified time.
    Always Believe in Urself
    Merry

  4. #4
    Join Date
    Jan 2007
    Posts
    326
    Thanks
    42
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    MacOS X

    Default Re: How to launch an application automatically ?

    one more thing I would like to know, that how can we create .pList file using QSettings in mac, and how can we get values from .pList file.
    Always Believe in Urself
    Merry

  5. #5
    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 launch an application automatically ?

    Quote Originally Posted by merry View Post
    I want the system to run my application at the specified time.
    Your system probably has some task scheduler available (like cron). Qt has no facilities to operate on such services so you have to add your application there yourself.

  6. #6
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: How to launch an application automatically ?

    Quote Originally Posted by merry View Post
    one more thing I would like to know, that how can we create .pList file using QSettings in mac, and how can we get values from .pList file.
    Instead of giving a direct link, let me teach you something more valuable: open QSettings docs and search for "plist".

    PS. Not to be rude, but since you already even knew the class name, it would be nice if you could next time search the docs for the most obvious key words before asking the question here immediately after it pops up in your mind. The reference documentation is still your number uno source.
    J-P Nurmi

Similar Threads

  1. QSkinWindows Classes
    By kernel_panic in forum Qt-based Software
    Replies: 45
    Last Post: 20th April 2010, 12:35
  2. dll + application
    By fpujol in forum Qt Programming
    Replies: 11
    Last Post: 15th April 2007, 18:37
  3. Application deployment problem
    By shapirlex in forum Qt for Embedded and Mobile
    Replies: 0
    Last Post: 13th April 2007, 00:11

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.