Qt 6.11 is out! See what's new in the release
blog
About QThread
General and Desktop
2
Posts
2
Posters
1.0k
Views
1
Watching
-
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.