QDialog out of a console application
General and Desktop
2
Posts
2
Posters
2.0k
Views
1
Watching
-
I have a QCoreApplication console application. When this application runs into an assert, I would like to have a QDialog on my screen with a few radio buttons that give me a choice how to continue from here.
Of course a console application will not let me create a QWidget, let alone a QDialog.
Anybody out there who once had the same problem and knows of a smart way to solve it?Thx
-
You can change QCoreApplication to QApplication and QT += gui
So it starts to be not only cli app.