Use qtpy, deprecate superqt.qtcompat, drop support for Qt <5.12 (#39)

* remove qtcompat

* change imports

* change codecov

* add dep

* run tests against dalthviz branch

* update

* more replace

* pin pyside6 for sake of test

* add deprecation

* drop qt 5.11

* unpin pyside6
This commit is contained in:
Talley Lambert
2022-01-07 12:19:59 -05:00
committed by GitHub
parent a07ee64f8b
commit d25f4c1cf7
96 changed files with 119 additions and 457 deletions

View File

@@ -6,9 +6,10 @@ except ImportError as e:
"pip install git+https://github.com/tlambert03/fonticon-fontawesome5.git"
)
from qtpy.QtCore import QSize
from qtpy.QtWidgets import QApplication, QPushButton
from superqt.fonticon import IconOpts, icon, pulse, spin
from superqt.qtcompat.QtCore import QSize
from superqt.qtcompat.QtWidgets import QApplication, QPushButton
app = QApplication([])