summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2019-07-09 13:05:06 +0200
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2019-07-12 18:01:12 +0200
commit49d4da10920abbe46931e163e3b3d98614cad584 (patch)
treec164faace8a09562669365c08aa5ce4cc8c1ff07
parent2a0677ec1d3f9e849eb61ec99c5682cf0b87f4b9 (diff)
Make enabling full debug information easier
Avoids asking customers to edit source files or add CONFIG to qmake on the command line to enable full debug information. Change-Id: Id58388565df88442e74e02687eb3189136e998f3 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
-rw-r--r--src/core/configure.json12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/core/configure.json b/src/core/configure.json
index 9e4eb62ac..b9c920444 100644
--- a/src/core/configure.json
+++ b/src/core/configure.json
@@ -11,6 +11,7 @@
"options": {
"webengine-alsa": "boolean",
"webengine-embedded-build": "boolean",
+ "webengine-full-debug-info": "boolean",
"webengine-icu": { "type": "enum", "name": "webengine-system-icu", "values": { "system": "yes", "qt": "no" } },
"webengine-ffmpeg": { "type": "enum", "name": "webengine-system-ffmpeg", "values": { "system": "yes", "qt": "no" } },
"webengine-opus": { "type": "enum", "name": "webengine-system-opus", "values": { "system": "yes", "qt": "no" } },
@@ -675,6 +676,16 @@
"condition": "config.linux && features.webengine-embedded-build && arch.arm && tests.webengine-arm-thumb",
"output": [ "privateFeature" ]
},
+ "webengine-full-debug-info": {
+ "label": "Full debug information",
+ "purpose": "Enables debug information for Blink and V8.",
+ "autoDetect": false,
+ "condition": "config.debug || features.debug_and_release || features.force_debug_info",
+ "output": [
+ { "type": "privateConfig", "name": "v8base_debug" },
+ { "type": "privateConfig", "name": "webcore_debug" }
+ ]
+ },
"webengine-noexecstack": {
"label": "linker supports -z noexecstack",
"condition": "config.unix && tests.webengine-noexecstack",
@@ -730,6 +741,7 @@
"section": "Qt WebEngine",
"entries": [
"webengine-embedded-build",
+ "webengine-full-debug-info",
"webengine-pepper-plugins",
"webengine-printing-and-pdf",
"webengine-proprietary-codecs",