Quantcast
Channel: Jobs
Viewing all articles
Browse latest Browse all 18427

Instantiate QWidget in QCoreApplication

$
0
0
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?

Viewing all articles
Browse latest Browse all 18427

Trending Articles