Attempt to make usable the wizard for the pyqt<4.4.4 users
[bertos.git] / wizard / BWizardPage.py
index b4fc6217025419c244c07c57af0743e68ca89319..f7b60c37309599b25a3afd6ae4d30e8784a968cd 100644 (file)
@@ -13,7 +13,10 @@ from PyQt4.QtCore import *
 from PyQt4.QtGui import *
 from PyQt4 import uic
 
-import qvariant_converter
+if PYQT_VERSION_STR > "4.4.3":
+    import qvariant_converter_new as qvariant_converter
+else:
+    import qvariant_converter_old as qvariant_converter
 
 class BWizardPage(QWizardPage):