Results 1 to 2 of 2

Thread: call bash/terminal command with QT

  1. #1
    Join Date
    Nov 2006
    Location
    indonesia
    Posts
    55
    Thanked 11 Times in 11 Posts
    Qt products
    Qt4
    Platforms
    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
    Location
    Warsaw, Poland
    Posts
    33,360
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    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

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.