Details
Description
It appears that PySide 6.5.0 lacks query() method:
>>> from PySide6.QtSql import QSqlTableModel, QSqlQueryModel >>> a = QSqlTableModel() >>> a.query() Traceback (most recent call last): File "<stdin>", line 1, in <module> AttributeError: 'PySide6.QtSql.QSqlTableModel' object has no attribute 'query' >>> b = QSqlQueryModel() >>> b.query() Traceback (most recent call last): File "<stdin>", line 1, in <module> AttributeError: 'PySide6.QtSql.QSqlQueryModel' object has no attribute 'query'
Attachments
Issue Links
- is duplicated by
-
PYSIDE-2326 PySide6.QtSql.QSqlTableModel' object has no attribute 'query'
- Closed
- resulted from
-
QTBUG-105048 QSqlQuery is supposed to be move-only, however we copy it in our code
- Closed
For Gerrit Dashboard: PYSIDE-2300 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
472465,4 | Fix missing QSqlQueryModel::query() | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |
472760,2 | Fix missing QSqlQueryModel::query() | 6.5 | pyside/pyside-setup | Status: MERGED | +2 | 0 |
473473,1 | Fix missing QSqlQueryModel::query() | tqtc/dev | pyside/tqtc-pyside-setup | Status: ABANDONED | 0 | 0 |