aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2023-07-25 13:07:35 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2023-07-25 16:04:32 +0200
commit7ba2cb99aee88c48624611c67f79a0678fd49a2e (patch)
tree729b4e2581d387910da3849c6e6bb0e87827460a /sources/pyside6
parentc06f7743b9a35f90cade1b653a4842c6fab70c06 (diff)
PySide6: Undeprecate QSqlQueryModel::setQuery(const QSqlQuery &) in Qt 6
Disable the deprecation warning for the moment. A better solution needs to be found in Qt 7. Pick-to: 6.5 Fixes: PYSIDE-2394 Task-number: QTBUG-91766 Change-Id: I6bf47c631b27a3378ab1d0c17d2551671a39cf93 Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
Diffstat (limited to 'sources/pyside6')
-rw-r--r--sources/pyside6/PySide6/QtSql/typesystem_sql.xml5
1 files changed, 4 insertions, 1 deletions
diff --git a/sources/pyside6/PySide6/QtSql/typesystem_sql.xml b/sources/pyside6/PySide6/QtSql/typesystem_sql.xml
index c67a48793..18f49aecc 100644
--- a/sources/pyside6/PySide6/QtSql/typesystem_sql.xml
+++ b/sources/pyside6/PySide6/QtSql/typesystem_sql.xml
@@ -123,7 +123,10 @@
<include file-name="QStringList" location="global"/>
<include file-name="QSize" location="global"/>
</extra-includes>
- <modify-function signature="setQuery(QSqlQuery)" allow-thread="yes"/>
+ <!-- FIXME: PYSIDE7: Handle setQuery(QSqlQuery&&) in some way?
+ QTBUG-91766/PYSIDE-2394 -->
+ <modify-function signature="setQuery(QSqlQuery)" allow-thread="yes"
+ deprecated="false"/>
<modify-function signature="setQuery(QString,QSqlDatabase)" allow-thread="yes"/>
<!-- FIXME: PYSIDE7: Probably needs a fix, make QSqlQuery an object type?
QTBUG-105048/PYSIDE-2300 -->