compileUiFiles.py

changeset 3656
441956d8fce5
parent 3597
137370f7114b
child 3670
f0cb7579c0b4
--- a/compileUiFiles.py	Sun Jun 29 14:00:30 2014 +0200
+++ b/compileUiFiles.py	Sun Jun 29 20:13:56 2014 +0200
@@ -20,9 +20,9 @@
     Compile the .ui files to Python sources.
     """                                                 # __IGNORE_WARNING__
     try:
-        from PyQt4.uic import compileUiDir
+        from PyQt5.uic import compileUiDir
     except ImportError:
-        from PyQt4.uic import compileUi
+        from PyQt5.uic import compileUi
         
         def compileUiDir(dir, recurse=False,            # __IGNORE_WARNING__
                          map=None, **compileUi_args):
@@ -31,7 +31,7 @@
             directory tree.
             
             Note: This function is a modified version of the one found in
-            PyQt4.
+            PyQt5.
 
             @param dir Name of the directory to scan for files whose name ends
                 with '.ui'. By default the generated Python module is created

eric ide

mercurial