While true, that is not the complete truth.
You can use a platform (-platform XXX) to specify an non-X server, and use that for rendering. That's how I generated PDFs on a headless server.
"offscreen" is one, but there is a better one that escapes me at the moment.
Sent: Tuesday, June 07, 2016 at 7:48 AM
From: "Federico Buti" <[email protected]>
To: "Etienne Sandré-Chardonnal" <[email protected]>
Cc: "[email protected]" <[email protected]>
Subject: Re: [Interest] Painting fonts without GUI
From: "Federico Buti" <[email protected]>
To: "Etienne Sandré-Chardonnal" <[email protected]>
Cc: "[email protected]" <[email protected]>
Subject: Re: [Interest] Painting fonts without GUI
On 7 June 2016 at 11:04, Etienne Sandré-Chardonnal <[email protected]> wrote:
Thanks!Is there any way to enable font painting in a non GUI application? It should work without any X server, so in that case Qt should have a fallback font? This does not need to be pretty text.Hi,When I try painting text over a QImage in a console only application with QPainter::drawText, the program crashes.
_______________________________________________
Interest mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/interest
_______________________________________________ Interest mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/interest
