Results 1 to 10 of 10

Thread: How to detect a QProcess is started

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Sep 2007
    Posts
    13
    Thanks
    1
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default How to detect a QProcess is started

    I start the process A before my main application starts using startDetached of QProcess.
    However I having problem of the main application lose focus to process A.
    I have try to set back focus to main application, however the process A is actually show up slower than the main application. So, my code of set focus will finish run even before process A runs finished and get the focus.

    How to actually detect when process A is started? When process A start up it only shows as system tray icon.
    Last edited by cooler123; 20th June 2008 at 10:54.

Similar Threads

  1. Replies: 5
    Last Post: 9th June 2008, 11:21
  2. Connecting with QProcess to an already running process
    By high_flyer in forum Qt Programming
    Replies: 7
    Last Post: 26th November 2007, 10:31
  3. Detect platform where my QT4 program is running on
    By the_bis in forum Qt Programming
    Replies: 1
    Last Post: 14th September 2007, 12:01
  4. QProcess / system call not working under linux. Why?
    By johnny_sparx in forum Qt Programming
    Replies: 12
    Last Post: 11th March 2006, 00:32

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.