[ADD] added PySide compability

This commit is contained in:
holger 2014-11-20 23:08:58 +01:00
parent b8d2a55f3c
commit 100309feaf

View File

@ -24,7 +24,11 @@ if 'PyQt4.QtGui' not in sys.modules:
try:
from PyQt5.QtGui import QImage, qRgba
except:
from PyQt4.QtGui import QImage, qRgba
try:
from PyQt4.QtGui import QImage, qRgba
except:
from PySide.QtGui import QImage, qRgba
else: #PyQt4 is used
from PyQt4.QtGui import QImage, qRgba