1120 print("Found QScintilla2") |
1120 print("Found QScintilla2") |
1121 |
1121 |
1122 if pyqtVariant == "PyQt4": |
1122 if pyqtVariant == "PyQt4": |
1123 impModulesList = [ |
1123 impModulesList = [ |
1124 "PyQt4.QtGui", "PyQt4.QtNetwork", "PyQt4.QtSql", |
1124 "PyQt4.QtGui", "PyQt4.QtNetwork", "PyQt4.QtSql", |
1125 "PyQt4.QtSvg", "PyQt4.QtWebKit", |
1125 "PyQt4.QtSvg", |
1126 ] |
1126 ] |
1127 else: |
1127 else: |
1128 impModulesList = [ |
1128 impModulesList = [ |
1129 "PyQt5.QtGui", "PyQt5.QtNetwork", "PyQt5.QtPrintSupport", |
1129 "PyQt5.QtGui", "PyQt5.QtNetwork", "PyQt5.QtPrintSupport", |
1130 "PyQt5.QtSql", "PyQt5.QtSvg", "PyQt5.QtWebKit", |
1130 "PyQt5.QtSql", "PyQt5.QtSvg", "PyQt5.QtWidgets", |
1131 "PyQt5.QtWebKitWidgets", "PyQt5.QtWidgets", |
|
1132 ] |
1131 ] |
1133 modulesOK = True |
1132 modulesOK = True |
1134 for impModule in impModulesList: |
1133 for impModule in impModulesList: |
1135 name = impModule.split(".")[1] |
1134 name = impModule.split(".")[1] |
1136 try: |
1135 try: |