Results 1 to 6 of 6

Thread: No Interactive feel-QProcess

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2008
    Posts
    4
    Qt products
    Qt3
    Platforms
    Unix/X11

    Default No Interactive feel-QProcess

    Hi guys....
    Im usin Qt 3.3.8 for designing a GUI based editor for C/C++ programs.
    I use QProcess for running the program
    For reading output I use readLineStdout().It all works fine .But im not able to get the feel of Interaction---the program simply goes on getting input and then finally it prints the otput.....I'll explain u my situation...

    This is what I expect when I run a program:
    Program:Enter the number of strings
    myself: 2
    Prog:Enter the string 1
    my:aaa
    Prog:Echoed string:aaa
    Prog:Enter the string 2
    my:bbb
    Prog:Echoed string:bbb
    but this is what happens when I run the program:
    Prog: [ Nothin appears(at this instant) in the Text edit thats designd for showing the output ]
    my:2
    my:aaa
    my:bbb
    Prog:Enter the string 1
    Echoed string:aaa
    Enter the string 2
    Echoed string:bbb [all of these appear at a single instance]
    Now this is vat is my problem....
    Great ones shall HELP me
    PLZZZZZZZZZZZZZZZZZZZ
    Last edited by jpn; 9th January 2008 at 21:02. Reason: missing [quote] tags

Similar Threads

  1. QProcess and Pipes
    By KaptainKarl in forum Qt Programming
    Replies: 1
    Last Post: 9th April 2007, 23:11
  2. 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
  •  
Qt is a trademark of The Qt Company.