<?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[QSqlRelationalTableModel setTable() and long table names CRASH]]></title><description><![CDATA[<p dir="auto">I suspect there's a bug with QSqlRelationalTableModel and table names longer than 18 characters.  I've used QSqlRelationalTableModel without any issues in multiple places in my app but now i was trying to use it with a table named 'billing_destination' and it would always crash when calling setTable("billing_destination");  If i used a table with a shorter name it works fine, no crash.</p>
<p dir="auto">so I did a simple test, created table with name '123456789012345678' and another one with name '1234567890123456789'.<br />
setTable("123456789012345678") works fine<br />
setTable("1234567890123456789") crashes</p>
<p dir="auto">Am i missing something here or is this really a bug?</p>
]]></description><link>https://forum.qt.io/topic/21433/qsqlrelationaltablemodel-settable-and-long-table-names-crash</link><generator>RSS for Node</generator><lastBuildDate>Sat, 08 Aug 2026 20:48:56 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/21433.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 15 Nov 2012 11:46:23 GMT</pubDate><ttl>60</ttl></channel></rss>