<?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[Qt 5.6 - QWidget::repaint() does not trigger a repaint before returning]]></title><description><![CDATA[<p dir="auto">In certain areas of my application I need to call <code>QWidget::repaint()</code> in order to re-render a frame in OpenGL, so that I can access the depth buffer information at that particular instance in time. Initially I was using <code>QWidget::update()</code>, but later determined that <code>repaint()</code> was required as it ensured that the refresh happened immediately instead of being scheduled for the near future.</p>
<p dir="auto">This method worked fine in Qt 5.5.1 that I used to be running - however, after updating to Qt 5.6 <code>repaint()</code> just seems to act like <code>update()</code> instead. I verified this by putting a breakpoint within my <code>paintGL()</code> function and on the invocation of <code>repaint()</code> - the <code>paintGL()</code> breakpoint was not hit before <code>repaint()</code> returned, when previously this was the case.</p>
<p dir="auto">Am I missing something important, or is this a bug?</p>
]]></description><link>https://forum.qt.io/topic/66583/qt-5-6-qwidget-repaint-does-not-trigger-a-repaint-before-returning</link><generator>RSS for Node</generator><lastBuildDate>Tue, 14 Apr 2026 02:13:09 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/66583.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 29 Apr 2016 23:15:44 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Qt 5.6 - QWidget::repaint() does not trigger a repaint before returning on Sat, 30 Apr 2016 20:30:22 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">Can you make a small compilable example that reproduces that behavior change ?</p>
<p dir="auto">You also might want to take a look at the <a href="http://bugreports.qt.io" target="_blank" rel="noopener noreferrer nofollow ugc">bug report system</a> to see if there's something mentioning that.</p>
]]></description><link>https://forum.qt.io/post/324996</link><guid isPermaLink="true">https://forum.qt.io/post/324996</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Sat, 30 Apr 2016 20:30:22 GMT</pubDate></item></channel></rss>