<?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[Problem with &quot;autosort&quot; with QTableView and QSqlQueryModel]]></title><description><![CDATA[<p dir="auto">Hi, I have a problem with QTableView and QSqlQueryModel. When I use setQuery method and with sql statement "Select ... Order by columnX DESC",  I see in view my select always ascending. Can I turn off this "autosort" in QTableView or QSqlQueryModel?</p>
]]></description><link>https://forum.qt.io/topic/50656/problem-with-autosort-with-qtableview-and-qsqlquerymodel</link><generator>RSS for Node</generator><lastBuildDate>Thu, 05 Nov 2026 04:37:24 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/50656.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 28 Jan 2015 17:41:24 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Problem with &quot;autosort&quot; with QTableView and QSqlQueryModel on Thu, 29 Jan 2015 00:00:56 GMT]]></title><description><![CDATA[<p dir="auto">Hi and welcome to devnet,</p>
<p dir="auto">Looks like you're searching for "setSort":<a href="http://doc.qt.io/qt-5/qsqltablemodel.html#setSort" target="_blank" rel="noopener noreferrer nofollow ugc">http://doc.qt.io/qt-5/qsqltablemodel.html#setSort</a></p>
]]></description><link>https://forum.qt.io/post/259608</link><guid isPermaLink="true">https://forum.qt.io/post/259608</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Thu, 29 Jan 2015 00:00:56 GMT</pubDate></item></channel></rss>