From 02861e677ab95b537efb331fb7faea4e5851d2ea Mon Sep 17 00:00:00 2001 From: Martin Jansa Date: Thu, 7 Aug 2014 21:20:48 +0200 Subject: qttools: fix noqtwebkit option * it's added to CONFIG variable not QT_CONFIG * qtwebkit was still detected and linked against DEBUG: qttools-tools: Dependency libQt5WebKitWidgets.so.5 requires package qtwebkit (used by files: ['qttools/5.3.1-r0/packages-split/qttools-tools/usr/bin/qt5/assistant', 'qttools/5.3.1-r0/packages-split/qttools-plugins/usr/lib/qt5/plugins/designer/libqwebview.so']) DEBUG: qttools-tools: Dependency libQt5WebKit.so.5 requires package qtwebkit (used by files: ['qttools/5.3.1-r0/packages-split/qttools-tools/usr/bin/qt5/assistant']) DEBUG: qttools-plugins: Dependency libQt5WebKitWidgets.so.5 requires package qtwebkit (used by files: ['qttools/5.3.1-r0/packages-split/qttools-tools/usr/bin/qt5/assistant', 'qttools/5.3.1-r0/packages-split/qttools-plugins/usr/lib/qt5/plugins/designer/libqwebview.so']) Signed-off-by: Martin Jansa --- .../0003-add-noqtwebkit-configuration.patch | 51 ++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 recipes-qt/qt5/qttools-git/0003-add-noqtwebkit-configuration.patch (limited to 'recipes-qt/qt5/qttools-git/0003-add-noqtwebkit-configuration.patch') diff --git a/recipes-qt/qt5/qttools-git/0003-add-noqtwebkit-configuration.patch b/recipes-qt/qt5/qttools-git/0003-add-noqtwebkit-configuration.patch new file mode 100644 index 00000000..fa3ac1a4 --- /dev/null +++ b/recipes-qt/qt5/qttools-git/0003-add-noqtwebkit-configuration.patch @@ -0,0 +1,51 @@ +From 6bb257d69ba7ac93b2b11aae35e0a523785d94ad Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Andreas=20M=C3=BCller?= +Date: Wed, 4 Jun 2014 11:28:16 +0200 +Subject: [PATCH 3/3] add noqtwebkit configuration +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Upstream-Status: Inappropiate [configuration] + +Signed-off-by: Andreas Müller +Signed-off-by: Martin Jansa +--- + src/assistant/assistant/assistant.pro | 4 ++-- + src/designer/src/plugins/plugins.pro | 2 +- + 2 files changed, 3 insertions(+), 3 deletions(-) + +diff --git a/src/assistant/assistant/assistant.pro b/src/assistant/assistant/assistant.pro +index 5f96377..71acdfc 100644 +--- a/src/assistant/assistant/assistant.pro ++++ b/src/assistant/assistant/assistant.pro +@@ -1,4 +1,4 @@ +-qtHaveModule(webkitwidgets):!contains(QT_CONFIG, static) { ++qtHaveModule(webkitwidgets):!contains(QT_CONFIG, static):!contains(CONFIG, noqtwebkit) { + QT += webkitwidgets + } else { + DEFINES += QT_NO_WEBKIT +@@ -72,7 +72,7 @@ SOURCES += aboutdialog.cpp \ + openpageswidget.cpp \ + openpagesmanager.cpp \ + openpagesswitcher.cpp +-qtHaveModule(webkitwidgets):!contains(QT_CONFIG, static) { ++qtHaveModule(webkitwidgets):!contains(QT_CONFIG, static):!contains(CONFIG, noqtwebkit) { + SOURCES += helpviewer_qwv.cpp + } else { + SOURCES += helpviewer_qtb.cpp +diff --git a/src/designer/src/plugins/plugins.pro b/src/designer/src/plugins/plugins.pro +index 500a153..b60fa2d 100644 +--- a/src/designer/src/plugins/plugins.pro ++++ b/src/designer/src/plugins/plugins.pro +@@ -1,6 +1,6 @@ + TEMPLATE = subdirs + + # qtHaveModule(opengl): SUBDIRS += tools/view3d +-qtHaveModule(webkitwidgets): SUBDIRS += qwebview ++qtHaveModule(webkitwidgets):!contains(CONFIG, noqtwebkit): SUBDIRS += qwebview + win32: qtHaveModule(axcontainer): SUBDIRS += activeqt + qtHaveModule(quickwidgets): SUBDIRS += qquickwidget +-- +2.0.4 + -- cgit v1.2.3-54-g00ecf