Is there any way I can instantiate a QWidget in a QCoreApplication? I do not want to show this widget, but just want to paint the widget to a png. I need to instantiate the widget, and then call QPixmap::grabWidget().
I cannot change this from QCoreApplication to QApplication. Are there any other ideas?
↧