Bug 14632

Summary: Debug configuration doesn't work with qmake.
Product: WebKit Reporter: Donald Luo <donaldluo>
Component: Tools / TestsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: son.two, zecke
Priority: P2    
Version: 523.x (Safari 3)   
Hardware: PC   
OS: Linux   
Attachments:
Description Flags
Patch to webkitdirs.pm
none
enhanced patch
none
the enhanced patch with corrected indentation
mrowe: review+
change log for the patch none

Description Donald Luo 2007-07-16 06:43:51 PDT
Debug configuration is not really activated in the qmake build system. Set configuration to Debug and build WebKit for GDK or Qt. The executable built still doesn't contain debug information.
Comment 1 Donald Luo 2007-07-16 06:49:00 PDT
Created attachment 15531 [details]
Patch to webkitdirs.pm
Comment 2 Oleg Sukhodolsky 2007-08-18 07:03:18 PDT
Created attachment 16013 [details]
enhanced patch

as far as I know qmake could be configured to use debug configuration by default, 
so it looks reasonable to enhance the patch to explicitly drop unneedded mode.
Comment 3 Oleg Sukhodolsky 2007-08-18 07:19:39 PDT
Created attachment 16014 [details]
the enhanced patch with corrected indentation
Comment 4 Holger Freyther 2007-08-18 07:21:17 PDT
I'm no perl expert but it looks okay.
Comment 5 Mark Rowe (bdash) 2007-08-18 07:25:46 PDT
Comment on attachment 16014 [details]
the enhanced patch with corrected indentation

r=me.  The amount of duplication between buildQMakeProject and buildQMakeGdkProject is depressing.  It'd be great if it could be cleaned up at some point.
Comment 6 Oleg Sukhodolsky 2007-08-18 07:35:11 PDT
(In reply to comment #5)
> (From update of attachment 16014 [details] [edit])
> r=me.  The amount of duplication between buildQMakeProject and
> buildQMakeGdkProject is depressing.  It'd be great if it could be cleaned up at
> some point.
> 

I will see what I can do to reduce duplication :)
Comment 7 Oleg Sukhodolsky 2007-08-18 13:12:19 PDT
Created attachment 16017 [details]
change log for the patch
Comment 8 Holger Freyther 2007-08-19 04:20:20 PDT
Landed in r25146.