Move to Qt5 and Qt5Multimedia

This commit is contained in:
Bertrand Songis
2016-03-10 07:12:44 +01:00
parent d7a9710a9c
commit aec2170e7e
98 changed files with 355 additions and 438 deletions
+4 -1
View File
@@ -3,7 +3,10 @@
from __future__ import division, print_function
import sys
from PyQt4 import Qt, QtGui
try:
from PyQt5 import Qt, QtGui
except:
from PyQt4 import Qt, QtGui
image = QtGui.QImage(sys.argv[1])
width, height = image.size().width(), image.size().height()