[Qt-interest] drawing to an off-screen buffer with QPainter/QImage without a QApplication?

Torrin Jones tjones.job at gmail.com
Fri Jan 8 20:23:21 CET 2010


>
> Exactly - that's what I'm working on here. I need to do basic drawing to
> off-screen images on render farms. So the question is on Linux, does
> creating a QImage require an X11 pixmap as a backend, or will it
> intelligently fall back to an all-software buffer as it seems to do on
> Windows.


Would the second constructor to QApplication help?  It has a parameter
called GUIEnabled which controls the initialization of the window system
under X11.

http://doc.trolltech.com/4.6/qapplication.html#QApplication-2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100108/397e3045/attachment.html 


More information about the Qt-interest-old mailing list