<?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[QtSqlQueryModel or QtSqlRelationalTableModel]]></title><description><![CDATA[<p dir="auto">Would there be a need to set relations with QSqlRelationalTableModel if my database already manages them?  I have only one thought for why I should but wouldn't really know until I tested.</p>
<p dir="auto">It seems from a quick test once you start to include the QSqlTableModel which QSqlRelationalTableModel extends from; there is a big delay iteration time.  I would think I would want to avoid this class if I don't need it and can get by on QSqlQueryModel.  Overloading QSqlQueryModel so it can write to the database also would be the only feature I think I need that the relational model has; which I have learned to work around.</p>
<p dir="auto">Still learning these class types and I know there are hidden potentials to them also.  Thought I should ask.</p>
]]></description><link>https://forum.qt.io/topic/19076/qtsqlquerymodel-or-qtsqlrelationaltablemodel</link><generator>RSS for Node</generator><lastBuildDate>Sun, 19 Apr 2026 05:32:48 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/19076.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 14 Aug 2012 23:58:00 GMT</pubDate><ttl>60</ttl></channel></rss>