mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-25 17:36:18 +03:00
[ADD] added PySide compability
This commit is contained in:
parent
b8d2a55f3c
commit
100309feaf
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user