mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-05-29 10:13:09 +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:
|
try:
|
||||||
from PyQt5.QtGui import QImage, qRgba
|
from PyQt5.QtGui import QImage, qRgba
|
||||||
except:
|
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
|
else: #PyQt4 is used
|
||||||
from PyQt4.QtGui import QImage, qRgba
|
from PyQt4.QtGui import QImage, qRgba
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user