diff options
author | Samuli Piippo <samuli.piippo@qt.io> | 2018-08-16 11:55:34 +0300 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2018-09-14 08:24:06 +0000 |
commit | 823fa380c5a15817040c2e511c3c6a0d06ef2a3d (patch) | |
tree | 91d403467c79d1e1ac40221f865e2f800f243aec | |
parent | 9ffdd55c7c03d9e608409a95ed4c51ae0fb3d511 (diff) | |
download | meta-qt5-823fa380c5a15817040c2e511c3c6a0d06ef2a3d.tar.gz |
qtwebengine: enable debug info for webengine
Enable debug info for webengine builds. The mkspec needed fixing,
otherwise CFLAGS were fed incorrectly to Ninja.
Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
-rw-r--r-- | recipes-qt/qt5/qtbase/0001-Add-linux-oe-g-platform.patch | 20 | ||||
-rw-r--r-- | recipes-qt/qt5/qtwebengine_git.bb | 1 |
2 files changed, 10 insertions, 11 deletions
diff --git a/recipes-qt/qt5/qtbase/0001-Add-linux-oe-g-platform.patch b/recipes-qt/qt5/qtbase/0001-Add-linux-oe-g-platform.patch index 8f7afb6d..f36364e5 100644 --- a/recipes-qt/qt5/qtbase/0001-Add-linux-oe-g-platform.patch +++ b/recipes-qt/qt5/qtbase/0001-Add-linux-oe-g-platform.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From bb416ea80d421c53012e13280d68bdcefc815b8f Mon Sep 17 00:00:00 2001 | 1 | From a0a36aaaeb0509d5964566f501b717d2dd27b205 Mon Sep 17 00:00:00 2001 |
2 | From: Martin Jansa <Martin.Jansa@gmail.com> | 2 | From: Martin Jansa <Martin.Jansa@gmail.com> |
3 | Date: Mon, 15 Apr 2013 04:29:32 +0200 | 3 | Date: Mon, 15 Apr 2013 04:29:32 +0200 |
4 | Subject: [PATCH] Add linux-oe-g++ platform | 4 | Subject: [PATCH] Add linux-oe-g++ platform |
@@ -23,14 +23,14 @@ Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | |||
23 | configure | 2 +- | 23 | configure | 2 +- |
24 | mkspecs/features/configure.prf | 4 +-- | 24 | mkspecs/features/configure.prf | 4 +-- |
25 | mkspecs/features/qt_functions.prf | 2 +- | 25 | mkspecs/features/qt_functions.prf | 2 +- |
26 | mkspecs/linux-oe-g++/qmake.conf | 42 ++++++++++++++++++++++++++++ | 26 | mkspecs/linux-oe-g++/qmake.conf | 40 ++++++++++++++++++++++++++++ |
27 | mkspecs/linux-oe-g++/qplatformdefs.h | 1 + | 27 | mkspecs/linux-oe-g++/qplatformdefs.h | 1 + |
28 | 5 files changed, 47 insertions(+), 4 deletions(-) | 28 | 5 files changed, 45 insertions(+), 4 deletions(-) |
29 | create mode 100644 mkspecs/linux-oe-g++/qmake.conf | 29 | create mode 100644 mkspecs/linux-oe-g++/qmake.conf |
30 | create mode 100644 mkspecs/linux-oe-g++/qplatformdefs.h | 30 | create mode 100644 mkspecs/linux-oe-g++/qplatformdefs.h |
31 | 31 | ||
32 | diff --git a/configure b/configure | 32 | diff --git a/configure b/configure |
33 | index 2830a1b189..6445dc2d5a 100755 | 33 | index 2830a1b1897..6445dc2d5a0 100755 |
34 | --- a/configure | 34 | --- a/configure |
35 | +++ b/configure | 35 | +++ b/configure |
36 | @@ -712,7 +712,7 @@ fi | 36 | @@ -712,7 +712,7 @@ fi |
@@ -43,7 +43,7 @@ index 2830a1b189..6445dc2d5a 100755 | |||
43 | 43 | ||
44 | # build qmake | 44 | # build qmake |
45 | diff --git a/mkspecs/features/configure.prf b/mkspecs/features/configure.prf | 45 | diff --git a/mkspecs/features/configure.prf b/mkspecs/features/configure.prf |
46 | index 934a18a924..0f5b1b6333 100644 | 46 | index 934a18a9249..0f5b1b63334 100644 |
47 | --- a/mkspecs/features/configure.prf | 47 | --- a/mkspecs/features/configure.prf |
48 | +++ b/mkspecs/features/configure.prf | 48 | +++ b/mkspecs/features/configure.prf |
49 | @@ -46,14 +46,14 @@ defineTest(qtCompileTest) { | 49 | @@ -46,14 +46,14 @@ defineTest(qtCompileTest) { |
@@ -64,7 +64,7 @@ index 934a18a924..0f5b1b6333 100644 | |||
64 | msg = "test $$1 succeeded" | 64 | msg = "test $$1 succeeded" |
65 | write_file($$QMAKE_CONFIG_LOG, msg, append) | 65 | write_file($$QMAKE_CONFIG_LOG, msg, append) |
66 | diff --git a/mkspecs/features/qt_functions.prf b/mkspecs/features/qt_functions.prf | 66 | diff --git a/mkspecs/features/qt_functions.prf b/mkspecs/features/qt_functions.prf |
67 | index 1903e509c8..c093dd4592 100644 | 67 | index 1903e509c8e..c093dd4592d 100644 |
68 | --- a/mkspecs/features/qt_functions.prf | 68 | --- a/mkspecs/features/qt_functions.prf |
69 | +++ b/mkspecs/features/qt_functions.prf | 69 | +++ b/mkspecs/features/qt_functions.prf |
70 | @@ -69,7 +69,7 @@ defineTest(qtHaveModule) { | 70 | @@ -69,7 +69,7 @@ defineTest(qtHaveModule) { |
@@ -78,10 +78,10 @@ index 1903e509c8..c093dd4592 100644 | |||
78 | cmd = perl -w $$system_path($${cmd}.pl) | 78 | cmd = perl -w $$system_path($${cmd}.pl) |
79 | diff --git a/mkspecs/linux-oe-g++/qmake.conf b/mkspecs/linux-oe-g++/qmake.conf | 79 | diff --git a/mkspecs/linux-oe-g++/qmake.conf b/mkspecs/linux-oe-g++/qmake.conf |
80 | new file mode 100644 | 80 | new file mode 100644 |
81 | index 0000000000..30d31ed16d | 81 | index 00000000000..d90dfeb4482 |
82 | --- /dev/null | 82 | --- /dev/null |
83 | +++ b/mkspecs/linux-oe-g++/qmake.conf | 83 | +++ b/mkspecs/linux-oe-g++/qmake.conf |
84 | @@ -0,0 +1,42 @@ | 84 | @@ -0,0 +1,40 @@ |
85 | +# | 85 | +# |
86 | +# qmake configuration for linux-g++ with modifications for building with OpenEmbedded | 86 | +# qmake configuration for linux-g++ with modifications for building with OpenEmbedded |
87 | +# | 87 | +# |
@@ -110,8 +110,6 @@ index 0000000000..30d31ed16d | |||
110 | +QMAKE_CC = $$(OE_QMAKE_CC) | 110 | +QMAKE_CC = $$(OE_QMAKE_CC) |
111 | +QMAKE_CXX = $$(OE_QMAKE_CXX) | 111 | +QMAKE_CXX = $$(OE_QMAKE_CXX) |
112 | + | 112 | + |
113 | +QMAKE_CFLAGS_RELEASE_WITH_DEBUGINFO += $$(OE_QMAKE_CFLAGS) | ||
114 | + | ||
115 | +QMAKE_LINK = $$(OE_QMAKE_LINK) | 113 | +QMAKE_LINK = $$(OE_QMAKE_LINK) |
116 | +QMAKE_LINK_SHLIB = $$(OE_QMAKE_LINK) | 114 | +QMAKE_LINK_SHLIB = $$(OE_QMAKE_LINK) |
117 | +QMAKE_LINK_C = $$(OE_QMAKE_LINK) | 115 | +QMAKE_LINK_C = $$(OE_QMAKE_LINK) |
@@ -126,7 +124,7 @@ index 0000000000..30d31ed16d | |||
126 | +load(qt_config) | 124 | +load(qt_config) |
127 | diff --git a/mkspecs/linux-oe-g++/qplatformdefs.h b/mkspecs/linux-oe-g++/qplatformdefs.h | 125 | diff --git a/mkspecs/linux-oe-g++/qplatformdefs.h b/mkspecs/linux-oe-g++/qplatformdefs.h |
128 | new file mode 100644 | 126 | new file mode 100644 |
129 | index 0000000000..5d22fb4101 | 127 | index 00000000000..5d22fb41013 |
130 | --- /dev/null | 128 | --- /dev/null |
131 | +++ b/mkspecs/linux-oe-g++/qplatformdefs.h | 129 | +++ b/mkspecs/linux-oe-g++/qplatformdefs.h |
132 | @@ -0,0 +1 @@ | 130 | @@ -0,0 +1 @@ |
diff --git a/recipes-qt/qt5/qtwebengine_git.bb b/recipes-qt/qt5/qtwebengine_git.bb index a10db075..9e28e02e 100644 --- a/recipes-qt/qt5/qtwebengine_git.bb +++ b/recipes-qt/qt5/qtwebengine_git.bb | |||
@@ -31,6 +31,7 @@ DEPENDS += " \ | |||
31 | DEPENDS_append_libc-musl = " libexecinfo" | 31 | DEPENDS_append_libc-musl = " libexecinfo" |
32 | 32 | ||
33 | EXTRA_QMAKEVARS_CONFIGURE += "-feature-webengine-system-ninja -no-feature-webengine-system-gn" | 33 | EXTRA_QMAKEVARS_CONFIGURE += "-feature-webengine-system-ninja -no-feature-webengine-system-gn" |
34 | EXTRA_QMAKEVARS_PRE += "CONFIG+=force_debug_info" | ||
34 | 35 | ||
35 | # chromium/third_party/openh264/openh264.gyp adds | 36 | # chromium/third_party/openh264/openh264.gyp adds |
36 | # -Wno-format to openh264_cflags_add | 37 | # -Wno-format to openh264_cflags_add |