Attempt to make usable the wizard for the pyqt<4.4.4 users
[bertos.git] / wizard / BCpuPage.py
index 6494e34d89710fa547bb2f6f94c8308f9dca76fc..e329dbc866d279557cee07037aa8d92fb0a0415d 100644 (file)
 
 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 BCpuPage(BWizardPage):