About QThread
-
Hi all,
I have a command-line tool that I am calling using QThread.
One problem is that the command-line tool will crash if there is something wrong with the input data. However, I want the program to pop-up a dialog and tell the user to check the input data, rather than crash directly.Is there any method to achieve this?
Thanks a lot.
-
The "QProcess":http://qt-project.org/doc/qt-5/qprocess.html with "processError":http://qt-project.org/doc/qt-5/qprocess.html#ProcessError-enum which can be checked.