<?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[How to use proxymodel in desktop app]]></title><description><![CDATA[<p dir="auto">In application, I use the deprived class of QAbstractTableModel in main thread, handle datas in sub thread and send emit  data to main thread.  The application runs smoothly to show110W data.<br />
I use QSortFilterProxyModel as prox for  deprived class of QAbstractTableModel in main thread, handle datas in sub thread as before, however, the application is suspended and thread is died.<br />
The application run ok while handling a little data.</p>
<p dir="auto">Is there any possible to do that?<br />
Best Regards</p>
]]></description><link>https://forum.qt.io/topic/139396/how-to-use-proxymodel-in-desktop-app</link><generator>RSS for Node</generator><lastBuildDate>Thu, 05 Nov 2026 12:52:35 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/139396.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 18 Sep 2022 05:13:46 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to How to use proxymodel in desktop app on Sun, 18 Sep 2022 07:30:38 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jowei">@<bdi>jowei</bdi></a> said in <a href="/post/729142">How to use proxymodel in desktop app</a>:</p>
<blockquote>
<p dir="auto">handle datas in sub thread</p>
</blockquote>
<p dir="auto">I probably comes down to what exactly you mean by this.  You must not make calls to the model data from a secondary thread while it is in use in the main/UI thread.  Do you?  The fact that it works when you don't use <code>QSortFilterProxyModel</code> is probably "fortunate", and the fact that "run ok while handling a little data" but "application is suspended and thread is died." when more data implies problems show up when a decent amount of data is involved.</p>
]]></description><link>https://forum.qt.io/post/729149</link><guid isPermaLink="true">https://forum.qt.io/post/729149</guid><dc:creator><![CDATA[JonB]]></dc:creator><pubDate>Sun, 18 Sep 2022 07:30:38 GMT</pubDate></item></channel></rss>