Results 1 to 2 of 2

Thread: call bash/terminal command with QT

  1. #1
    Join Date
    Nov 2006
    Thanked 11 Times in 11 Posts
    Qt products
    Unix/X11 Windows

    Question call bash/terminal command with QT

    I am a newer Qt Programming. I want to make a program with 1 lineedit and 1 textedit. when i write a command bash (example "man cat") and press enter, then textedit show output from this command (from this example, then text show manual about cat). How to solve this problem ?

    how to call other program from qt. example i want to open gimp program from Qt program. what command to call other program.
    thank for your attention

  2. #2
    Join Date
    Jan 2006
    Warsaw, Poland
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits

    Default Re: call bash/terminal command with QT

    You might have searched the forum. The question has already been asked multiple times. The answer for your problem is to use QProcess.

Similar Threads

  1. Call on Parent Object
    By hufgardm in forum Newbie
    Replies: 1
    Last Post: 7th September 2006, 15:11
  2. why cant i call setGeometry
    By freegnu in forum Qt Programming
    Replies: 1
    Last Post: 14th June 2006, 04:59
  3. virtual overloaded functions and base class function call...
    By nouknouk in forum General Programming
    Replies: 7
    Last Post: 11th March 2006, 21:26


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.