Nov-05-2022, 11:54 AM
It is possible. Some packages, like pyqtgraph, are set up to work with many versions of Qt. They look at your installed packages to find which version of Qt is installed.
I think you can circumvent this by changing the import order in your file. Import PySide6 before import pyqtgraph. Change this:
I think you can circumvent this by changing the import order in your file. Import PySide6 before import pyqtgraph. Change this:
import pyqtgraph from PySide6 import QtCore, QtGui, QtWidgetsto this:
from PySide6 import QtCore, QtGui, QtWidgets import pyqtgraph