Results 1 to 9 of 9

Thread: QProcess: finished() signal not emitted running Powershell script

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #3
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: QProcess: finished() signal not emitted running Powershell script

    Take a look at the console output from your program at run time and/or the return value from connect(). It is likely that you are receiving warning that QProcess does not have a signal matching "finished(int)" and that connect() returns false (Qt4) or a QMetaObject::Connection that evaluates as false (Qt5). The signal is QProcess::finished(int exitCode, QProcess::ExitStatus exitStatus)

  2. The following 2 users say thank you to ChrisW67 for this useful post:

    anda_skoa (11th January 2015), Laureta (11th January 2015)

Similar Threads

  1. QNetworkAccessManager no finished() signal emitted
    By realperson in forum Qt Programming
    Replies: 4
    Last Post: 18th January 2018, 08:42
  2. QProcess finishes but never emits finished signal
    By BettaUseYoNikes in forum Qt Programming
    Replies: 2
    Last Post: 3rd December 2011, 08:01
  3. Running an script using QProcess
    By DiegoTc in forum Newbie
    Replies: 1
    Last Post: 31st December 2010, 18:02
  4. Replies: 0
    Last Post: 24th May 2010, 08:11
  5. QProcess object not emitting finished(int) signal
    By Tiansen in forum Qt Programming
    Replies: 13
    Last Post: 14th November 2008, 12:17

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.