mirror of
https://git.freebsd.org/ports.git
synced 2025-05-29 09:26:27 -04:00
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
13 lines
413 B
Prolog
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
|