Qproccesdialog with external terminal command
-
I have a program that call an external terminal command for calculations. Is it possible to create a qproccesdialog for the command?
-
welcome to devnet
Do you mean progress or process dialog?
-
[quote author="gioullis" date="1325763280"]I have a program that call an external terminal command for calculations. Is it possible to create a qproccesdialog for the command?[/quote]
If your external program is able to report progress via stdout, you can read that from the QProcess object and update the progressbar accordingly. Just make sure to set stdout on the other side to unbuffered, otherwise the progress updates come in batches.