Open zalavariandris opened 3 years ago
@zalavariandris May I know how you made it work with PySide6? I'm also having this issue when using Iconify with an PySide6 App
how did you make it work with pyside 6 pliz ?
Well, that was a long time ago. Looks like this repo has been sadly abandoned for years now.
Looking at the code again, the fix seems simple:
Iconify expose Qt in this file: https://github.com/JasonGilholme/iconify/blob/develop/iconify/qt.py
So I would simply replace PySide2
with PySide6
:
if TYPE_CHECKING:
from PySide2 import QtCore, QtGui, QtSvg, QtWidgets, QtXml
qtlib = 'PySide2
I have not tested this yet, but it should work. At least a good start. Hope it works out for you!
I have installed pyside6 with pip. Iconify seem to search for PySide2. It seem like an easy fix to make it work with pyside6.