ports/devel/qt5-assistant/files/patch-src_assistant_assistant_assistant.pro
Raphael Kubo da Costa faeebfbfae Drop dependency on www/qt5-webkit.
Reduce qt5-assistant's dependency tree by dropping the dependency on QtWebKit.
Instead, use qt5-widgets' QTextBrowser to render documentation. An added bonus
is that with this change www/qt5-webengine no longer depends on www/qt5-webkit.

Page rendering is slightly worse, but everything is still very much readable.

Reviewed by:	tcberner
Differential Revision:	https://reviews.freebsd.org/D13630
2017-12-26 10:53:13 +00:00

13 lines
413 B
Prolog

Do not use QtWebKit even if it is present to reduce the port's dependencies.
--- src/assistant/assistant/assistant.pro
+++ src/assistant/assistant/assistant.pro
@@ -1,8 +1,4 @@
-qtHaveModule(webkitwidgets):!contains(QT_CONFIG, static) {
- BROWSER = qtwebkit
-} else {
- BROWSER = qtextbrowser
-}
+BROWSER = qtextbrowser
QT += widgets network help sql help
qtHaveModule(printsupport): QT += printsupport