ports/devel/qt5-designer/files/patch-src_designer_src_plugins_plugins.pro
Tobias C. Berner 9f091f1250 Make webkit optional in qt5-designer
This shrinks the dependencies of qtcreator and Co down to only one WebView engine.
If the QtWebKit-based WebView widget is needed, toggle WEBKIT on.

Reviewed by:	rakuco
Differential Revision:	https://reviews.freebsd.org/D13641
2017-12-29 22:12:59 +00:00

16 lines
603 B
Prolog

Make QtWebKit an optional dependency of devel/qt5-designer.
Otherwise ports like devel/qtcreator will depend on both
qt5-webengine (directly) and qt5-webkit (via designer).
--- src/designer/src/plugins/plugins.pro.orig 2016-11-03 08:31:16 UTC
+++ src/designer/src/plugins/plugins.pro
@@ -1,6 +1,8 @@
TEMPLATE = subdirs
# qtHaveModule(opengl): SUBDIRS += tools/view3d
-qtHaveModule(webkitwidgets): SUBDIRS += qwebview
+use_webkit {
+ qtHaveModule(webkitwidgets): SUBDIRS += qwebview
+}
win32: qtHaveModule(axcontainer): SUBDIRS += activeqt
qtHaveModule(quickwidgets): SUBDIRS += qquickwidget