add the following to generator/typesystem_core.xml
<rejection class="QXmlStreamEntityResolver" function-name="resolveEntity" since-version="6.12"/>
I tested it. it works.
| Git Clone URL: | https://aur.archlinux.org/pythonqt.git (read-only, click to copy) |
|---|---|
| Package Base: | pythonqt |
| Description: | A dynamic Python binding for Qt applications |
| Upstream URL: | https://github.com/MeVisLab/pythonqt |
| Licenses: | LGPL-2.1-only |
| Submitter: | ainola |
| Maintainer: | FabioLolix |
| Last Packager: | FabioLolix |
| Votes: | 15 |
| Popularity: | 0.000099 |
| First Submitted: | 2015-08-09 19:29 (UTC) |
| Last Updated: | 2026-10-11 21:55 (UTC) |
add the following to generator/typesystem_core.xml
<rejection class="QXmlStreamEntityResolver" function-name="resolveEntity" since-version="6.12"/>
I tested it. it works.
Issue reported upstream https://github.com/MeVisLab/pythonqt/issues/370
getting a build error:
In file included from ../../generated_cpp/com_trolltech_qt_core/com_trolltech_qt_core4.cpp:1:
../../generated_cpp/com_trolltech_qt_core/com_trolltech_qt_core4.h:106:10: error: virtual function ‘virtual QString PythonQtShell_QXmlStreamEntityResolver::resolveEntity(const QString&, const QString&)’ overriding final function
106 | QString resolveEntity(const QString& publicId, const QString& systemId) override;
| ^~~~~~~~~~~~~
In file included from ../../generated_cpp/com_trolltech_qt_core/com_trolltech_qt_core4.h:13:
/usr/include/qt6/QtCore/qxmlstream.h:236:21: note: overridden function is ‘virtual QString QXmlStreamEntityResolver::resolveEntity(const QString&, const QString&)’
236 | virtual QString resolveEntity(const QString& publicId, const QString& systemId) final;
| ^~~~~~~~~~~~~
make[2]: *** [Makefile:2111: com_trolltech_qt_core4.o] Error 1
make[2]: Leaving directory '/bslx/bslxbuild/pythonqt/src/pythonqt-4.2.0/extensions/PythonQt_QtAll'
make[1]: *** [Makefile:47: sub-PythonQt_QtAll-make_first] Error 2
make[1]: Leaving directory '/bslx/bslxbuild/pythonqt/src/pythonqt-4.2.0/extensions'
make: *** [Makefile:101: sub-extensions-make_first] Error 2
==> ERROR: A failure occurred in build().
Aborting...
seems valid. shouldn;t be overriding a final function.
perfect
Thanks, done
Need this patch https://github.com/MeVisLab/pythonqt/pull/246/files
btw I have got an issue rebuilding against the new python version https://github.com/MeVisLab/pythonqt/issues/245
solved. found repo "desolve" with a more updated qt5-webkit. and now was ok.
only now I don't remember which other packages I used needed pythonqt that I couldn't compile :-(
yes :-( you right
Is cachyos still rebuilding the package? They are 10 months behind with pkgrel, pkgrel 20 was on 2023/12
Pinned Comments
FabioLolix commented on 2026-10-12 21:01 (UTC)
Issue reported upstream https://github.com/MeVisLab/pythonqt/issues/370