Results 1 to 4 of 4

Thread: recieving QProcess::write data

  1. #1
    Join Date
    Jun 2008
    Posts
    21
    Thanked 1 Time in 1 Post

    Default recieving QProcess::write data

    Hi,

    I am using Qt4. From main thread i am starting third party binary(application) using QProcess. I am writing (QProcess::write("data")) to the process. My issue is how to recieve that data in the 3rd party application.

    Regards,
    node_ex.

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: recieving QProcess::write data

    Read it from stdin.

  3. #3
    Join Date
    Jun 2008
    Posts
    21
    Thanked 1 Time in 1 Post

    Default How to read QProcess::write("p")

    Hi,

    I am using Qt4. How to catch the data sent by QProcess::write("p"), in the process which invokes some executable.what i need to code in the application which invoked by process.

    Regards,
    node_ex.

  4. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: How to read QProcess::write("p")

    As I already wrote, you can read it from the standard input.

    P.S. Please, don't start more than one thread on the same problem.

Similar Threads

  1. QSqlQueryModel data update
    By psi in forum Qt Programming
    Replies: 4
    Last Post: 20th July 2012, 03:59
  2. Replies: 4
    Last Post: 19th October 2007, 19:47
  3. Data model
    By steg90 in forum Qt Programming
    Replies: 3
    Last Post: 17th September 2007, 12:14
  4. speed of setdata - lots of items in treeview
    By Big Duck in forum Qt Programming
    Replies: 4
    Last Post: 6th July 2006, 12:53
  5. Replies: 16
    Last Post: 7th March 2006, 15:57

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.