Attempt to make usable the wizard for the pyqt<4.4.4 users
[bertos.git] / wizard / BVersionPage.py
index 2f5a62605b9c3b833611964d91316b4d743e6709..1d078565794d51c3f93c55341ae52c3104477592 100644 (file)
 from PyQt4.QtGui import *
 from BWizardPage import *
 import bertos_utils
-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 BVersionPage(BWizardPage):