16 from PyQt5.QtWidgets import QAction, QWidget, QApplication |
16 from PyQt5.QtWidgets import QAction, QWidget, QApplication |
17 from PyQt5 import uic |
17 from PyQt5 import uic |
18 except ImportError: |
18 except ImportError: |
19 print("PyQt5 could not be found.") |
19 print("PyQt5 could not be found.") |
20 sys.exit(1) |
20 sys.exit(1) |
|
21 |
|
22 try: |
|
23 from PyQt5 import QtWebEngineWidgets # __IGNORE_WARNING__ |
|
24 except ImportError: |
|
25 pass |
21 |
26 |
22 |
27 |
23 def objectName(formFile, projectPath): |
28 def objectName(formFile, projectPath): |
24 """ |
29 """ |
25 Function to get the object name of a form. |
30 Function to get the object name of a form. |