Results 1 to 5 of 5

Thread: How to find client application is exit properly by running application

  1. #1
    Join Date
    Nov 2012
    Location
    Coimbatore
    Posts
    53
    Thanks
    1
    Thanked 3 Times in 3 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Question How to find client application is exit properly by running application

    Hi,
    While running client application in device how can i find that their application is exit properly

  2. #2
    Join Date
    Mar 2011
    Posts
    82
    Thanks
    13
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: How to find client application is exit properly by running application

    What do you mean by "exit properly"?
    Please try to be more elaborated in your question. What are you exactly trying to check/verify?

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

    mania (8th November 2012)

  4. #3
    Join Date
    May 2009
    Location
    Canada
    Posts
    163
    Thanks
    7
    Thanked 20 Times in 20 Posts
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Windows Android

    Default Re: How to find client application is exit properly by running application

    Might QApplication::exec() be useful?

  5. #4
    Join Date
    Nov 2012
    Location
    Coimbatore
    Posts
    53
    Thanks
    1
    Thanked 3 Times in 3 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Default Re: How to find client application is exit properly by running application

    I want to create running multiple application in handheld device using Linux OS. I have create window it looks like an icons for (e.g) In that window three icons having 1.TestDialog 2.TestWidget 3. Filecopy , each file is created by different users . Using QProcess::start() i am running applications , suppose when the user pressing Filecopy thus the application is running successfully but when they exit Filecopy application i am not know wheather it exit or not . I have tried QProcess:: pid() when running i get value when i disable and enable application i am not get pid value
    Last edited by mania; 8th November 2012 at 11:09.

  6. #5
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: How to find client application is exit properly by running application

    QProcess signals the end of the child's life cycle by emitting the finished() signal. That signal transports the child's exit code (e.g. what it returned from its main() function) and an enum value telling you whether the child exited cleanly or crashed.

    Cheers,
    _

Similar Threads

  1. How to exit Qt console application?
    By arcelivez in forum Qt Programming
    Replies: 14
    Last Post: 30th July 2014, 09:51
  2. Replies: 1
    Last Post: 13th September 2011, 10:56
  3. Qt application exit with a segmentation fault
    By baobui in forum Qt for Embedded and Mobile
    Replies: 1
    Last Post: 10th April 2011, 14:42
  4. QML Application crashing on exit
    By fgungor in forum Qt Quick
    Replies: 0
    Last Post: 12th March 2011, 11:19
  5. Replies: 2
    Last Post: 21st November 2010, 19:03

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.