Hello,
I have developed a custom QGLWidget for rendering 3D content. Besides in the regular gui-application, I want to use it in a console app. This program basically performs a list of tasks and I'd sometimes like to use the QGLWidget for debugging purposes. However, the console application does not use a QApplication-object and I am getting the typical "QWidget: Must construct a QApplication before a QPaintDevice" error message.
Is it possible to have a console application capable of showing a dialog or form if required? What is the correct way of doing this?
Thank you for your help!
Bookmarks