Fixed QtCore version call bug.

This commit is contained in:
Jeremy Mack Wright 2018-04-26 10:55:50 -04:00
parent ff2e17a29f
commit 31bd2f27c1

View File

@ -34,4 +34,7 @@ elif os.environ[QT_API] in PYSIDE_API:
pass
# use a common __version__
import PySide.QtCore
__version__ = PySide.QtCore.__version__
try:
__version__ = PySide.QtCore.__version__
except:
__version__ = PySide.QtCore.qVersion()