Results 1 to 9 of 9

Thread: QProcess readyRead() and readReadStandardOutput signals not triggered in kde

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    Munich, Germany
    Posts
    4,714
    Thanks
    21
    Thanked 418 Times in 411 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: QProcess readyRead() and readReadStandardOutput signals not triggered in kde

    only after the alternate active window several times is that it is fired.
    It could be that its just time that takes the process to start.
    Try connecting a slot to the "started()" signal, and only then do the switching between windows, and see if you get the signals then.
    ==========================signature=============== ==================
    S.O.L.I.D principles (use them!):
    https://en.wikipedia.org/wiki/SOLID_...iented_design)

    Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.

  2. #2
    Join Date
    Oct 2010
    Posts
    5
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: QProcess readyRead() and readReadStandardOutput signals not triggered in kde

    does not work, the process is already started, as I said the problem only occurs in kde, gnome works normal. Let me explain: the signal is issued only after I switch the window 10 times, then he inserts the ids of 10 windows in TextEdit, then, only after switching to 10 times he inserts again, it's like waiting to fill a buffer to send the signal.

Similar Threads

  1. QUdpSocket readyRead() signal not triggered
    By deionut in forum Newbie
    Replies: 2
    Last Post: 26th October 2010, 18:19
  2. Replies: 3
    Last Post: 28th September 2010, 10:48
  3. QThread and signals (linux/UNIX signals not Qt Signals)
    By Micawber in forum Qt Programming
    Replies: 1
    Last Post: 28th November 2007, 22:18
  4. Replies: 2
    Last Post: 27th February 2007, 21:06
  5. QHttp and readyRead signals emit sequence
    By balitong in forum Qt Programming
    Replies: 4
    Last Post: 19th June 2006, 05:22

Tags for this Thread

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.