diff options
-rw-r--r-- | recipes-qt/qt5/qttools-git/0003-add-noqtwebkit-configuration.patch | 51 | ||||
-rw-r--r-- | recipes-qt/qt5/qttools/0003-add-noqtwebkit-configuration.patch | 26 |
2 files changed, 69 insertions, 8 deletions
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 @@ | |||
1 | From 6bb257d69ba7ac93b2b11aae35e0a523785d94ad Mon Sep 17 00:00:00 2001 | ||
2 | From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com> | ||
3 | Date: Wed, 4 Jun 2014 11:28:16 +0200 | ||
4 | Subject: [PATCH 3/3] add noqtwebkit configuration | ||
5 | MIME-Version: 1.0 | ||
6 | Content-Type: text/plain; charset=UTF-8 | ||
7 | Content-Transfer-Encoding: 8bit | ||
8 | |||
9 | Upstream-Status: Inappropiate [configuration] | ||
10 | |||
11 | Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> | ||
12 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | ||
13 | --- | ||
14 | src/assistant/assistant/assistant.pro | 4 ++-- | ||
15 | src/designer/src/plugins/plugins.pro | 2 +- | ||
16 | 2 files changed, 3 insertions(+), 3 deletions(-) | ||
17 | |||
18 | diff --git a/src/assistant/assistant/assistant.pro b/src/assistant/assistant/assistant.pro | ||
19 | index 5f96377..71acdfc 100644 | ||
20 | --- a/src/assistant/assistant/assistant.pro | ||
21 | +++ b/src/assistant/assistant/assistant.pro | ||
22 | @@ -1,4 +1,4 @@ | ||
23 | -qtHaveModule(webkitwidgets):!contains(QT_CONFIG, static) { | ||
24 | +qtHaveModule(webkitwidgets):!contains(QT_CONFIG, static):!contains(CONFIG, noqtwebkit) { | ||
25 | QT += webkitwidgets | ||
26 | } else { | ||
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 | ||
37 | diff --git a/src/designer/src/plugins/plugins.pro b/src/designer/src/plugins/plugins.pro | ||
38 | index 500a153..b60fa2d 100644 | ||
39 | --- a/src/designer/src/plugins/plugins.pro | ||
40 | +++ b/src/designer/src/plugins/plugins.pro | ||
41 | @@ -1,6 +1,6 @@ | ||
42 | TEMPLATE = subdirs | ||
43 | |||
44 | # qtHaveModule(opengl): SUBDIRS += tools/view3d | ||
45 | -qtHaveModule(webkitwidgets): SUBDIRS += qwebview | ||
46 | +qtHaveModule(webkitwidgets):!contains(CONFIG, noqtwebkit): SUBDIRS += qwebview | ||
47 | win32: qtHaveModule(axcontainer): SUBDIRS += activeqt | ||
48 | qtHaveModule(quickwidgets): SUBDIRS += qquickwidget | ||
49 | -- | ||
50 | 2.0.4 | ||
51 | |||
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 | ||