Fix build against Qt 6.6.0

This commit is contained in:
Jan Grulich 2023-10-16 10:27:22 +02:00
parent b7493f27a4
commit 1550acf223
2 changed files with 13 additions and 0 deletions

View File

@ -0,0 +1,12 @@
diff -ru PyQt6-6.5.2.orig/sip/QtSql/qsqlresult.sip PyQt6-6.5.2/sip/QtSql/qsqlresult.sip
--- PyQt6-6.5.2.orig/sip/QtSql/qsqlresult.sip 2023-10-11 16:46:02.317332289 +0200
+++ PyQt6-6.5.2/sip/QtSql/qsqlresult.sip 2023-10-11 17:26:17.722706788 +0200
@@ -63,7 +63,7 @@
QSql::ParamType bindValueType(const QString &placeholder) const;
QSql::ParamType bindValueType(int pos) const;
int boundValueCount() const;
- QList<QVariant> &boundValues() const;
+ QVariantList boundValues() const;
QString executedQuery() const;
QString boundValueName(int pos) const;
void clear();

View File

@ -13,6 +13,7 @@ Url: http://www.riverbankcomputing.com/software/pyqt/
Source0: https://pypi.python.org/packages/source/P/PyQt6/PyQt6-%{version}.tar.gz
Source1: macros.pyqt6
Patch0: pyqt6-fix-build-with-qt-6.6.0.patch
BuildRequires: make
BuildRequires: chrpath