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>
</widget>
<customwidgets>
<customwidget>
<class>QWebView</class>
<extends>QWidget</extends>
<header>QtWebKitWidgets/QWebView</header>
</customwidget>
<customwidget>
<class>QWebView</class>
<extends>QWidget</extends>
<header>PyQt5/QtWebKitWidgets</header>
</customwidget>
<customwidget>
<class>NPWebView</class>
<extends>QWebView</extends>