<?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[[Solved] How to show result of QSqlQuery]]></title><description><![CDATA[<p dir="auto">I get right output on console from QSqlQuery but how to show it on the dialog?</p>
<p dir="auto">This works but how to show the result like in QTableView?</p>
<p dir="auto">@    QSqlQuery query;<br />
query.exec(QString("SELECT * FROM bookmark"));</p>
<pre><code>query.first(&amp;#41;;

while (query.next()){
    QString tag = query.value(1).toString();
    qDebug() &lt;&lt; qPrintable(tag);
}
</code></pre>
<p dir="auto">@</p>
]]></description><link>https://forum.qt.io/topic/31184/solved-how-to-show-result-of-qsqlquery</link><generator>RSS for Node</generator><lastBuildDate>Tue, 22 Sep 2026 07:47:54 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/31184.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 26 Aug 2013 13:26:17 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to [Solved] How to show result of QSqlQuery on Mon, 26 Aug 2013 14:25:28 GMT]]></title><description><![CDATA[<p dir="auto">Yes. Thank you. Exactly.</p>
]]></description><link>https://forum.qt.io/post/192629</link><guid isPermaLink="true">https://forum.qt.io/post/192629</guid><dc:creator><![CDATA[jalomann]]></dc:creator><pubDate>Mon, 26 Aug 2013 14:25:28 GMT</pubDate></item><item><title><![CDATA[Reply to [Solved] How to show result of QSqlQuery on Mon, 26 Aug 2013 14:10:12 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">You can use a QSqlQueryModel</p>
]]></description><link>https://forum.qt.io/post/192627</link><guid isPermaLink="true">https://forum.qt.io/post/192627</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Mon, 26 Aug 2013 14:10:12 GMT</pubDate></item></channel></rss>