-
-
Notifications
You must be signed in to change notification settings - Fork 160
Open
Description
Shouldn't there be QtCore instead of just Qt?
Lines 23 to 27 in cd0b49b
| try: | |
| from PyQt5 import Qt | |
| versions += f"PyQt: {Qt.PYQT_VERSION_STR} - Qt: {Qt.QT_VERSION_STR}" | |
| except ImportError: |
For PyQt6, it is so:
Lines 48 to 54 in cd0b49b
| try: | |
| from PyQt6 import QtCore | |
| versions += ( | |
| f"PyQt: {QtCore.PYQT_VERSION_STR} - Qt: {QtCore.QT_VERSION_STR}" | |
| ) | |
| except ImportError: |