<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[QPainter on QPrinter kinda slow]]></title><description><![CDATA[<p dir="auto">Hi<br />
Im using qt 6.8 under windows with mingw</p>
<p dir="auto">this line takes up to a minute:</p>
<pre><code>QPainter painter(Printer_F05);
</code></pre>
<p dir="auto">Printer_F05 is initilize long before (when the application is started) as</p>
<pre><code>Printer_F05 = new QPrinter(QPrinter::PrinterMode::HighResolution);
</code></pre>
<p dir="auto">is there something to do to optimize?<br />
thanks guys</p>
]]></description><link>https://forum.qt.io/topic/164310/qpainter-on-qprinter-kinda-slow</link><generator>RSS for Node</generator><lastBuildDate>Wed, 08 Apr 2026 03:07:43 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/164310.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 23 Feb 2026 21:09:20 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to QPainter on QPrinter kinda slow on Mon, 02 Mar 2026 20:41:05 GMT]]></title><description><![CDATA[<p dir="auto">I've read somewhere not long ago (but I can't find that reference anymore...) that Win11 changed some of the handling for printing and it might affect Qt.</p>
]]></description><link>https://forum.qt.io/post/836715</link><guid isPermaLink="true">https://forum.qt.io/post/836715</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Mon, 02 Mar 2026 20:41:05 GMT</pubDate></item><item><title><![CDATA[Reply to QPainter on QPrinter kinda slow on Mon, 02 Mar 2026 02:23:03 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sgaist">@<bdi>SGaist</bdi></a><br />
its a vm on a server, I dont have access right now but pretty sure its windows 11</p>
<p dir="auto">the printing engine is initialized on the printer creation or painter creation? because the printer gets created at the application boot<br />
and is valid as long the app is running (that might not be optimal, please comment on this)</p>
<p dir="auto">and when I get the print command I create a painter with the already initialized printer and thats where it takes 1 minutes</p>
]]></description><link>https://forum.qt.io/post/836695</link><guid isPermaLink="true">https://forum.qt.io/post/836695</guid><dc:creator><![CDATA[JulsPower]]></dc:creator><pubDate>Mon, 02 Mar 2026 02:23:03 GMT</pubDate></item><item><title><![CDATA[Reply to QPainter on QPrinter kinda slow on Sun, 01 Mar 2026 19:46:54 GMT]]></title><description><![CDATA[<p dir="auto">AFAIK, the printing engine is initialized when you create the printer so I would say yes.</p>
<p dir="auto">Windows 11 by any chances ?</p>
]]></description><link>https://forum.qt.io/post/836692</link><guid isPermaLink="true">https://forum.qt.io/post/836692</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Sun, 01 Mar 2026 19:46:54 GMT</pubDate></item><item><title><![CDATA[Reply to QPainter on QPrinter kinda slow on Wed, 25 Feb 2026 02:21:43 GMT]]></title><description><![CDATA[<p dir="auto">Network printer, does it "connect" before the actual render?</p>
]]></description><link>https://forum.qt.io/post/836562</link><guid isPermaLink="true">https://forum.qt.io/post/836562</guid><dc:creator><![CDATA[JulsPower]]></dc:creator><pubDate>Wed, 25 Feb 2026 02:21:43 GMT</pubDate></item><item><title><![CDATA[Reply to QPainter on QPrinter kinda slow on Tue, 24 Feb 2026 21:48:07 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">That seems indeed a bit long.<br />
What kind of printer are you connecting to ?</p>
]]></description><link>https://forum.qt.io/post/836557</link><guid isPermaLink="true">https://forum.qt.io/post/836557</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Tue, 24 Feb 2026 21:48:07 GMT</pubDate></item></channel></rss>