Results 1 to 8 of 8

Thread: Second Application opening QSystemTray

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #4
    Join Date
    Sep 2011
    Location
    Manchester
    Posts
    538
    Thanks
    3
    Thanked 106 Times in 103 Posts
    Qt products
    Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Second Application opening QSystemTray

    Qt Code:
    1. QProcess p(this);
    2. p.start("Path/to/your/app/app.exe");
    To copy to clipboard, switch view to plain text mode 
    If main() in your app looks like the one few posts up (if app is running it shows it and bails out) then every attempt to launch the app while it's running will cause it to be shown.

  2. The following user says thank you to Spitfire for this useful post:

    JediSpam (15th December 2011)

Similar Threads

  1. opening a second window
    By benlyboy in forum Newbie
    Replies: 3
    Last Post: 2nd March 2010, 04:08
  2. opening webpage using qt....
    By anupamgee in forum Qt Programming
    Replies: 8
    Last Post: 20th April 2009, 11:13
  3. Opening a new window
    By k12yp70n in forum Newbie
    Replies: 1
    Last Post: 26th March 2009, 15:31
  4. Opening a shapefile
    By peace_comp in forum Qt Programming
    Replies: 1
    Last Post: 1st May 2008, 20:59
  5. QSystemTray stays longer than it should !
    By probine in forum Qt Programming
    Replies: 2
    Last Post: 21st December 2006, 11:37

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.