Varun Chitre
Varun Chitre

Reputation: 3230

How to embed output console window inside Qt GUI app?

I am making GUI program in Qt with ready-made command-line operations in forms of buttons, e.g if we want to extract zips using 7z standalone 7z.exe we type

7z.exe -x -tzip a.zip

I am doing GUI of this, then my question is how I can embed that black command prompt style console inside Qt GUI app itself to display whats going on?

Upvotes: 1

Views: 2705

Answers (1)

ypnos
ypnos

Reputation: 52417

Use QProcess: http://qt-project.org/doc/qt-4.8/qprocess.html#details

(This is a 180° edit. You can find my other answer in the history…)

Upvotes: 1

Related Questions