Make the the .ui files that use QWebView compilable using a binary calibre build

QWebView is exposed as a plugin to the PyQT ui compiler which is not
available in a frozen build. So instead we mock it as a custom widget
with the correct include header.
This commit is contained in:
Kovid Goyal 2014-07-16 00:14:25 +05:30
parent fc4da6933c
commit 24e7ae9717

View File

@ -82,11 +82,11 @@
</layout> </layout>
</widget> </widget>
<customwidgets> <customwidgets>
<customwidget> <customwidget>
<class>QWebView</class> <class>QWebView</class>
<extends>QWidget</extends> <extends>QWidget</extends>
<header>QtWebKitWidgets/QWebView</header> <header>PyQt5/QtWebKitWidgets</header>
</customwidget> </customwidget>
<customwidget> <customwidget>
<class>NPWebView</class> <class>NPWebView</class>
<extends>QWebView</extends> <extends>QWebView</extends>