diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2014-08-07 21:20:48 +0200 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2014-08-11 13:37:28 +0200 |
commit | 02861e677ab95b537efb331fb7faea4e5851d2ea (patch) | |
tree | 81935262174b085e90b599b552715c83e6f086fb /recipes-qt/qt5/qttools | |
parent | 5d28f842570b3546eb5b34ffd57fa94ad2a542ba (diff) | |
download | meta-qt5-02861e677ab95b537efb331fb7faea4e5851d2ea.tar.gz |
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 <Martin.Jansa@gmail.com>
Diffstat (limited to 'recipes-qt/qt5/qttools')
-rw-r--r-- | recipes-qt/qt5/qttools/0003-add-noqtwebkit-configuration.patch | 26 |
1 files changed, 18 insertions, 8 deletions
diff --git a/recipes-qt/qt5/qttools/0003-add-noqtwebkit-configuration.patch b/recipes-qt/qt5/qttools/0003-add-noqtwebkit-configuration.patch index 956bff2f..fa3ac1a4 100644 --- a/recipes-qt/qt5/qttools/0003-add-noqtwebkit-configuration.patch +++ b/recipes-qt/qt5/qttools/0003-add-noqtwebkit-configuration.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From d59c24913f7edb0809ed32cf6dfeea874860d783 Mon Sep 17 00:00:00 2001 | 1 | From 6bb257d69ba7ac93b2b11aae35e0a523785d94ad Mon Sep 17 00:00:00 2001 |
2 | From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com> | 2 | From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com> |
3 | Date: Wed, 4 Jun 2014 11:28:16 +0200 | 3 | Date: Wed, 4 Jun 2014 11:28:16 +0200 |
4 | Subject: [PATCH 3/3] add noqtwebkit configuration | 4 | Subject: [PATCH 3/3] add noqtwebkit configuration |
@@ -9,23 +9,33 @@ Content-Transfer-Encoding: 8bit | |||
9 | Upstream-Status: Inappropiate [configuration] | 9 | Upstream-Status: Inappropiate [configuration] |
10 | 10 | ||
11 | Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> | 11 | Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> |
12 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | ||
12 | --- | 13 | --- |
13 | src/assistant/assistant/assistant.pro | 2 +- | 14 | src/assistant/assistant/assistant.pro | 4 ++-- |
14 | src/designer/src/plugins/plugins.pro | 2 +- | 15 | src/designer/src/plugins/plugins.pro | 2 +- |
15 | 2 files changed, 2 insertions(+), 2 deletions(-) | 16 | 2 files changed, 3 insertions(+), 3 deletions(-) |
16 | 17 | ||
17 | diff --git a/src/assistant/assistant/assistant.pro b/src/assistant/assistant/assistant.pro | 18 | diff --git a/src/assistant/assistant/assistant.pro b/src/assistant/assistant/assistant.pro |
18 | index 5f96377..e2dfa61 100644 | 19 | index 5f96377..71acdfc 100644 |
19 | --- a/src/assistant/assistant/assistant.pro | 20 | --- a/src/assistant/assistant/assistant.pro |
20 | +++ b/src/assistant/assistant/assistant.pro | 21 | +++ b/src/assistant/assistant/assistant.pro |
21 | @@ -1,4 +1,4 @@ | 22 | @@ -1,4 +1,4 @@ |
22 | -qtHaveModule(webkitwidgets):!contains(QT_CONFIG, static) { | 23 | -qtHaveModule(webkitwidgets):!contains(QT_CONFIG, static) { |
23 | +qtHaveModule(webkitwidgets):!contains(QT_CONFIG, static):!contains(QT_CONFIG, noqtwebkit) { | 24 | +qtHaveModule(webkitwidgets):!contains(QT_CONFIG, static):!contains(CONFIG, noqtwebkit) { |
24 | QT += webkitwidgets | 25 | QT += webkitwidgets |
25 | } else { | 26 | } else { |
26 | DEFINES += QT_NO_WEBKIT | 27 | DEFINES += QT_NO_WEBKIT |
28 | @@ -72,7 +72,7 @@ SOURCES += aboutdialog.cpp \ | ||
29 | openpageswidget.cpp \ | ||
30 | openpagesmanager.cpp \ | ||
31 | openpagesswitcher.cpp | ||
32 | -qtHaveModule(webkitwidgets):!contains(QT_CONFIG, static) { | ||
33 | +qtHaveModule(webkitwidgets):!contains(QT_CONFIG, static):!contains(CONFIG, noqtwebkit) { | ||
34 | SOURCES += helpviewer_qwv.cpp | ||
35 | } else { | ||
36 | SOURCES += helpviewer_qtb.cpp | ||
27 | diff --git a/src/designer/src/plugins/plugins.pro b/src/designer/src/plugins/plugins.pro | 37 | diff --git a/src/designer/src/plugins/plugins.pro b/src/designer/src/plugins/plugins.pro |
28 | index 500a153..12a6127 100644 | 38 | index 500a153..b60fa2d 100644 |
29 | --- a/src/designer/src/plugins/plugins.pro | 39 | --- a/src/designer/src/plugins/plugins.pro |
30 | +++ b/src/designer/src/plugins/plugins.pro | 40 | +++ b/src/designer/src/plugins/plugins.pro |
31 | @@ -1,6 +1,6 @@ | 41 | @@ -1,6 +1,6 @@ |
@@ -33,9 +43,9 @@ index 500a153..12a6127 100644 | |||
33 | 43 | ||
34 | # qtHaveModule(opengl): SUBDIRS += tools/view3d | 44 | # qtHaveModule(opengl): SUBDIRS += tools/view3d |
35 | -qtHaveModule(webkitwidgets): SUBDIRS += qwebview | 45 | -qtHaveModule(webkitwidgets): SUBDIRS += qwebview |
36 | +qtHaveModule(webkitwidgets):!contains(QT_CONFIG, noqtwebkit): SUBDIRS += qwebview | 46 | +qtHaveModule(webkitwidgets):!contains(CONFIG, noqtwebkit): SUBDIRS += qwebview |
37 | win32: qtHaveModule(axcontainer): SUBDIRS += activeqt | 47 | win32: qtHaveModule(axcontainer): SUBDIRS += activeqt |
38 | qtHaveModule(quickwidgets): SUBDIRS += qquickwidget | 48 | qtHaveModule(quickwidgets): SUBDIRS += qquickwidget |
39 | -- | 49 | -- |
40 | 2.0.0 | 50 | 2.0.4 |
41 | 51 | ||