Remove import of PyQt5.Qt unified module
Avaid unnecessary import of QtMultimediaWidgets (https://www.riverbankcomputing.com/pipermail/pyqt/2016-February/036875.html)
This commit is contained in:
parent
167bcbb7aa
commit
dddd4f51e2
@ -139,7 +139,7 @@ elif QT_LIB == PYQT5:
|
|||||||
|
|
||||||
# We're using PyQt5 which has a different structure so we're going to use a shim to
|
# We're using PyQt5 which has a different structure so we're going to use a shim to
|
||||||
# recreate the Qt4 structure for Qt5
|
# recreate the Qt4 structure for Qt5
|
||||||
from PyQt5 import QtGui, QtCore, QtWidgets, Qt, uic
|
from PyQt5 import QtGui, QtCore, QtWidgets, uic
|
||||||
try:
|
try:
|
||||||
from PyQt5 import QtSvg
|
from PyQt5 import QtSvg
|
||||||
except ImportError:
|
except ImportError:
|
||||||
|
Loading…
Reference in New Issue
Block a user