I have noted the old issue about this question, Having trouble using QWebView and QWebPage, Since the QtWebKitWidgets module have been deprecated, and we can use the sentence from QtWebEngineWidget import QWebEngineView to replace the sentence made by pyuic to manually solve this problem, I wonder know is there a way to solve this problem by change some code in the uic module so we don't need manually change the file converted by pyuic.
I have noted the old issue about this question, Having trouble using QWebView and QWebPage, Since the
QtWebKitWidgets
module have been deprecated, and we can use the sentencefrom QtWebEngineWidget import QWebEngineView
to replace the sentence made by pyuic to manually solve this problem, I wonder know is there a way to solve this problem by change some code in the uic module so we don't need manually change the file converted by pyuic.