mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
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:
parent
fc4da6933c
commit
24e7ae9717
@ -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>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user