Details
-
Bug
-
Resolution: Won't Do
-
P3: Somewhat important
-
None
-
5.8.0
-
None
-
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