<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>39006</bug_id>
          
          <creation_ts>2010-05-12 11:05:42 -0700</creation_ts>
          <short_desc>[Qt] Link error in debug mode without debug_and_release config</short_desc>
          <delta_ts>2010-05-12 14:10:12 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Tools / Tests</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>Windows XP</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>Qt, QtTriaged</keywords>
          <priority>P3</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Csaba Osztrogonác">ossy</reporter>
          <assigned_to name="QtWebKit Unassigned">webkit-qt-unassigned</assigned_to>
          <cc>hausmann</cc>
    
    <cc>jturcotte</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>224731</commentid>
    <comment_count>0</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2010-05-12 11:05:42 -0700</bug_when>
    <thetext>I experimented with removing default debug_and_release config from win32-g++/qmake.conf . 
Now qmake runs twice unnecessarly and generate makefiles for release and debug mode too.

After removing debug build broke because of a little bug. Fix is coming soon.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>224732</commentid>
    <comment_count>1</comment_count>
      <attachid>55872</attachid>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2010-05-12 11:11:00 -0700</bug_when>
    <thetext>Created attachment 55872
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>224739</commentid>
    <comment_count>2</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2010-05-12 11:18:25 -0700</bug_when>
    <thetext>-                CONFIG(debug, debug|release):build_pass: QTWEBKITLIBNAME = $${QTWEBKITLIBNAME}d
+                CONFIG(debug, debug|release):QTWEBKITLIBNAME = $${QTWEBKITLIBNAME}d

The QtLauncher linking break caused in debug mode caused the line above,
because if config doesn&apos;t contain debug_and_release, build_pass will
always false and QTWEBKITLIBNAME won&apos;t have necessarily &quot;d&quot; suffix.

Removing build_pass guard fix this bug and won&apos;t change anything.

I know modifying mkspec isn&apos;t the good solution, but it was an
experiment in first step. And I found it works. I&apos;m going to
remove debug_and_release config from the WebKit build scripts
to decrease the runtime of building and avoid generating 
unnecessarily makefiles in an other bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>224741</commentid>
    <comment_count>3</comment_count>
      <attachid>55872</attachid>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2010-05-12 11:19:19 -0700</bug_when>
    <thetext>Comment on attachment 55872
Patch

cq- -ed, because I would like to land it manually.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>224856</commentid>
    <comment_count>4</comment_count>
      <attachid>55872</attachid>
    <who name="Kenneth Rohde Christiansen">kenneth</who>
    <bug_when>2010-05-12 13:42:19 -0700</bug_when>
    <thetext>Comment on attachment 55872
Patch

Be aware that this will conflict with Laszlo&apos;s patch on the cq.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>224877</commentid>
    <comment_count>5</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2010-05-12 14:10:12 -0700</bug_when>
    <thetext>Landed, conflict resolved manually: http://trac.webkit.org/changeset/59266</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>55872</attachid>
            <date>2010-05-12 11:11:00 -0700</date>
            <delta_ts>2010-05-12 13:42:18 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-39006-20100512111057.patch</filename>
            <type>text/plain</type>
            <size>1225</size>
            <attacher name="Csaba Osztrogonác">ossy</attacher>
            
              <data encoding="base64">SW5kZXg6IENoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBDaGFuZ2VMb2cJKHJldmlzaW9uIDU5MjM1
KQorKysgQ2hhbmdlTG9nCSh3b3JraW5nIGNvcHkpCkBAIC0xLDMgKzEsMTIgQEAKKzIwMTAtMDUt
MTIgIENzYWJhIE9zenRyb2dvbsOhYyAgPG9zc3lAd2Via2l0Lm9yZz4KKworICAgICAgICBSZXZp
ZXdlZCBieSBOT0JPRFkgKE9PUFMhKS4KKworICAgICAgICBbUXRdIExpbmsgZXJyb3IgaW4gZGVi
dWcgbW9kZSB3aXRob3V0IGRlYnVnX2FuZF9yZWxlYXNlIGNvbmZpZworICAgICAgICBodHRwczov
L2J1Z3Mud2Via2l0Lm9yZy9zaG93X2J1Zy5jZ2k/aWQ9MzkwMDYKKworICAgICAgICAqIFdlYktp
dC5wcmk6IFVubmVjZXNzYXJ5IGJ1aWxkX3Bhc3MgZ3VhcmQgcmVtb3ZlZC4KKwogMjAxMC0wNS0w
OCAgTGFzemxvIEdvbWJvcyAgPGxhc3psby4xLmdvbWJvc0Bub2tpYS5jb20+CiAKICAgICAgICAg
UmV2aWV3ZWQgYnkgS2VubmV0aCBSb2hkZSBDaHJpc3RpYW5zZW4uCkluZGV4OiBXZWJLaXQucHJp
Cj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT0KLS0tIFdlYktpdC5wcmkJKHJldmlzaW9uIDU5MjM1KQorKysgV2ViS2l0LnBy
aQkod29ya2luZyBjb3B5KQpAQCAtMjIsNyArMjIsNyBAQCBidWlsZGluZy1saWJzIHsKICAgICAg
ICAgICAgIFFNQUtFX0ZSQU1FV09SS1BBVEggPSAkJE9VVFBVVF9ESVIvbGliICQkUU1BS0VfRlJB
TUVXT1JLUEFUSAogICAgICAgICB9IGVsc2UgewogICAgICAgICAgICAgd2luMzItKnx3aW5jZSog
ewotICAgICAgICAgICAgICAgIENPTkZJRyhkZWJ1ZywgZGVidWd8cmVsZWFzZSk6YnVpbGRfcGFz
czogUVRXRUJLSVRMSUJOQU1FID0gJCR7UVRXRUJLSVRMSUJOQU1FfWQKKyAgICAgICAgICAgICAg
ICBDT05GSUcoZGVidWcsIGRlYnVnfHJlbGVhc2UpOlFUV0VCS0lUTElCTkFNRSA9ICQke1FUV0VC
S0lUTElCTkFNRX1kCiAgICAgICAgICAgICAgICAgUVRXRUJLSVRMSUJOQU1FID0gJCR7UVRXRUJL
SVRMSUJOQU1FfSQke1FUX01BSk9SX1ZFUlNJT059CiAgICAgICAgICAgICAgICAgd2luMzItZysr
OiBMSUJTICs9IC1sJCRRVFdFQktJVExJQk5BTUUKICAgICAgICAgICAgICAgICBlbHNlOiBMSUJT
ICs9ICQke1FUV0VCS0lUTElCTkFNRX0ubGliCg==
</data>
<flag name="review"
          id="40174"
          type_id="1"
          status="+"
          setter="kenneth"
    />
    <flag name="commit-queue"
          id="40178"
          type_id="3"
          status="-"
          setter="ossy"
    />
          </attachment>
      

    </bug>

</bugzilla>