mottosso / Qt.py

Minimal Python 2 & 3 shim around all Qt bindings - PySide, PySide2, PyQt4 and PyQt5.
MIT License
914 stars 254 forks source link

`QSvgWidget` is no longer available under `QtSvg` in PySide2 #410

Open housewarmer opened 4 months ago

housewarmer commented 4 months ago

Looks like QSvgWidget was moved from QtSvg to QtSvgWidgets in Qt 6, and is no longer available from Qt.py as it is neither under QtSvg nor does QtSvgWidgets exist at all.

mottosso commented 4 months ago

Thanks for reporting this. Would you be able to make a PR for this? This would belong in the _misplaced_members dictionary of the Qt.py file. There will be plenty others like it that you can use for reference on how to go about it.

ababak commented 4 months ago

https://github.com/mottosso/Qt.py/pull/411