File 04_enable_debug_information.diff of Package libQtWebKit4

Description: on Qt >= 4.5, debug info are disabled for QtWebkit.
             enable debug information in JavaScriptCore and WebCore.
author: Fathi Boudra <fabo@debian.org>

---
 JavaScriptCore/JavaScriptCore.pro |    2 --
 WebCore/WebCore.pro               |    2 --
 2 files changed, 4 deletions(-)

--- a/Source/WebCore/WebCore.pri
+++ b/Source/WebCore/WebCore.pri
@@ -3160,8 +3160,6 @@ HEADERS += $$WEBKIT_API_HEADERS
 
 !CONFIG(webkit-debug):CONFIG(QTDIR_build) {
     # Remove the following 2 lines if you want debug information in WebCore
-    CONFIG -= separate_debug_info
-    CONFIG += no_debug_info
 }
 
 contains (CONFIG, text_breaking_with_icu) {
--- a/Source/JavaScriptCore/JavaScriptCore.pro
+++ b/Source/JavaScriptCore/JavaScriptCore.pro
@@ -38,8 +38,6 @@ unix:contains(QT_CONFIG, reduce_relocati
 
 CONFIG(QTDIR_build) {
     # Remove the following 2 lines if you want debug information in JavaScriptCore
-    CONFIG -= separate_debug_info
-    CONFIG += no_debug_info
 }
 
 *-g++*:QMAKE_CXXFLAGS_RELEASE -= -O2
openSUSE Build Service is sponsored by