eric6/Project/UicLoadUi.py

changeset 7357
fe4e06357f54
parent 7266
d001bc703c29
child 7360
9190402e4505
equal deleted inserted replaced
7356:d975331c5daa 7357:fe4e06357f54
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.

eric ide

mercurial