-
Type:
Bug
-
Status: Closed
-
Priority:
P3: Somewhat important
-
Resolution: Done
-
Affects Version/s: 5.11.1
-
Fix Version/s: 5.12.0 Beta 1
-
Component/s: SQL Support
QSqlTableModel::setData() rejects all roles other than Qt::EditRole, so that we cannot set Qt::BackgroundRole using QSqlTableModel::setData() , please add relevant description in the doc or change the code, the current behavior halts many users , e.g.