<?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[QScrollarea for adding widgets dynamically , crashes on closing the app]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">I am using QScrollarea to add widgets dynamically.<br />
But while closing the app, the app crashes.</p>
<p dir="auto">Is it because of <strong>setWidgetResizable</strong></p>
<pre><code>m_pQScrollArea = new QScrollArea(this);
m_pQScrollArea.setWidgetResizable(true);
</code></pre>
<p dir="auto">i am creating the object in Constructor.<br />
And what is the solution?.</p>
<p dir="auto">Thanks,</p>
]]></description><link>https://forum.qt.io/topic/76852/qscrollarea-for-adding-widgets-dynamically-crashes-on-closing-the-app</link><generator>RSS for Node</generator><lastBuildDate>Sat, 02 May 2026 17:55:29 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/76852.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 04 Mar 2017 07:18:47 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to QScrollarea for adding widgets dynamically , crashes on closing the app on Sat, 04 Mar 2017 22:43:08 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">Please provide a stack trace of your crash. Otherwise it's impossible to guess what's going wrong.</p>
]]></description><link>https://forum.qt.io/post/379877</link><guid isPermaLink="true">https://forum.qt.io/post/379877</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Sat, 04 Mar 2017 22:43:08 GMT</pubDate></item><item><title><![CDATA[Reply to QScrollarea for adding widgets dynamically , crashes on closing the app on Sat, 04 Mar 2017 12:10:30 GMT]]></title><description><![CDATA[<p dir="auto">hi,</p>
<p dir="auto">Sorry,</p>
<p dir="auto">in headers,</p>
<p dir="auto">QScrollArea *m_pQScrollArea ;</p>
<p dir="auto">in source file.<br />
m_pQScrollArea = new QScrollArea(this);<br />
m_pQScrollArea-&gt;setWidgetResizable(true);</p>
<p dir="auto">Thanks,</p>
]]></description><link>https://forum.qt.io/post/379803</link><guid isPermaLink="true">https://forum.qt.io/post/379803</guid><dc:creator><![CDATA[Pradeep Kumar]]></dc:creator><pubDate>Sat, 04 Mar 2017 12:10:30 GMT</pubDate></item><item><title><![CDATA[Reply to QScrollarea for adding widgets dynamically , crashes on closing the app on Sat, 04 Mar 2017 10:11:53 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/pradeep-kumar">@<bdi>Pradeep-Kumar</bdi></a></p>
<p dir="auto">How is m_pQScrollArea declared?</p>
<p dir="auto">If it is <code>QScrollArea *</code>  you can not use <code>.</code></p>
]]></description><link>https://forum.qt.io/post/379787</link><guid isPermaLink="true">https://forum.qt.io/post/379787</guid><dc:creator><![CDATA[the_]]></dc:creator><pubDate>Sat, 04 Mar 2017 10:11:53 GMT</pubDate></item></channel></rss>