eric5_doc.py

changeset 3656
441956d8fce5
parent 3178
f25fc1364c88
--- a/eric5_doc.py	Sun Jun 29 14:00:30 2014 +0200
+++ b/eric5_doc.py	Sun Jun 29 20:13:56 2014 +0200
@@ -14,9 +14,6 @@
 
 from __future__ import unicode_literals
 try:  # Only for Py2
-    import sip
-    sip.setapi('QString', 2)
-    sip.setapi('QVariant', 2)
     import Utilities.compatibility_fixes     # __IGNORE_WARNING__
 except (ImportError):
     pass
@@ -269,7 +266,7 @@
         usage()
     
     if qtHelpCreation:
-        from PyQt4.QtCore import QCoreApplication
+        from PyQt5.QtCore import QCoreApplication
         app = QCoreApplication(sys.argv)    # __IGNORE_WARNING__
 
     input = output = 0

eric ide

mercurial