Fixed a QtNetwork import bug related to MacOS.
This commit is contained in:
parent
31bd2f27c1
commit
7c463a136f
|
@ -12,4 +12,7 @@ if os.environ[QT_API] in PYQT5_API:
|
|||
elif os.environ[QT_API] in PYQT4_API:
|
||||
from PyQt4.QtNetwork import *
|
||||
elif os.environ[QT_API] in PYSIDE_API:
|
||||
from PySide.QtNetwork import *
|
||||
try:
|
||||
from PySide.QtNetwork import *
|
||||
except:
|
||||
from PySide2.QtNetwork import *
|
||||
|
|
Loading…
Reference in New Issue
Block a user