Details
-
Type:
Bug
-
Status: Closed
-
Priority:
P3: Somewhat important
-
Resolution: Won't Do
-
Affects Version/s: 5.8.0
-
Fix Version/s: None
-
Component/s: SQL Support
-
Labels:None
-
Commits:40206a9f6d7635bb19305d1c8d74908808e3529e
Description
If you query the QSqlQueryModel::rolesNames() it returns a list with display role only.
I thing this useless for QML, I guess the role names need be dynamic using the fields on the record returned like done here:
https://wiki.qt.io/How_to_Use_a_QSqlQueryModel_in_QML