<?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>95736</bug_id>
          
          <creation_ts>2012-09-04 05:05:09 -0700</creation_ts>
          <short_desc>hybridPixmap test fails to compile</short_desc>
          <delta_ts>2012-09-06 04:58:23 -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>WebKit Qt</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows 7</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>76773</blocked>
          <everconfirmed>0</everconfirmed>
          <reporter name="Jonathan Liu">net147</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ap</cc>
    
    <cc>hausmann</cc>
    
    <cc>kent.hansen</cc>
    
    <cc>ossy</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>710994</commentid>
    <comment_count>0</comment_count>
    <who name="Jonathan Liu">net147</who>
    <bug_when>2012-09-04 05:05:09 -0700</bug_when>
    <thetext>I get a compile error compiling the hybridPixmap test while building WebKit for Qt 5.
It complains while compiling ui_widget.h that it is unable to find widget.h.
The directory containing widget.h is not in any of the include paths.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>710999</commentid>
    <comment_count>1</comment_count>
      <attachid>162016</attachid>
    <who name="Jonathan Liu">net147</who>
    <bug_when>2012-09-04 05:07:59 -0700</bug_when>
    <thetext>Created attachment 162016
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>712889</commentid>
    <comment_count>2</comment_count>
    <who name="Simon Hausmann">hausmann</who>
    <bug_when>2012-09-05 22:35:59 -0700</bug_when>
    <thetext>This is happening for you only on Windows, right?

I&apos;m a bit puzzled since I don&apos;t see the problem with nmake and msvc (different qmake backend) or with gcc on other platforms (pretty much same backend as mingw)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>712894</commentid>
    <comment_count>3</comment_count>
    <who name="Jonathan Liu">net147</who>
    <bug_when>2012-09-05 22:40:24 -0700</bug_when>
    <thetext>I am compiling Qt 5 and QtWebkit with MinGW on Windows as described on http://qt-project.org/wiki/Building_Qt_5_from_Git with the Tools/Scripts/build-webkit script. There is a -I include for the parent directory of hybridPixmap but there is no include for the hybridPixmap directory itself.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>713156</commentid>
    <comment_count>4</comment_count>
    <who name="Simon Hausmann">hausmann</who>
    <bug_when>2012-09-06 04:15:22 -0700</bug_when>
    <thetext>I think I&apos;ve found the reason as to why you&apos;re seeing this and I don&apos;t. Here&apos;s a simplified test-case to illustrate the issue. Imagine the following directory / file structure:

   main.cpp
   somedirectory\someheader.h
   anotherheader.h

Suppose someheader.h contains #include &quot;anotherheader.h&quot; and main.cpp includes &quot;someheader.h&quot;.

When someheader.h is pre-processed the pre-processor will look for anotherheader.h first inside somedirectory. After that GNU CPP stops, whereas MSVC continues &quot;in the directories of any previously opened include files in the reverse order in which they were opened&quot; (from http://msdn.microsoft.com/en-us/library/36k2cdd4.aspx ). qmake seems to have a mechanism for g++ on Linux to make sure that at least the initial &quot;source&quot; directory is in the include search paths, covering this particular issue, but that doesn&apos;t seem to be in place for windows builds. Maybe because MSVC doesn&apos;t need it, but then it&apos;s leaving out g++ on Windows. I&apos;ll dig a bit further into qmake for this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>713176</commentid>
    <comment_count>5</comment_count>
    <who name="Simon Hausmann">hausmann</who>
    <bug_when>2012-09-06 04:58:05 -0700</bug_when>
    <thetext>I believe that this is a qmake issue. I&apos;ve made a patch that can be tracked at

    https://codereview.qt-project.org/#change,34323

I&apos;m closing this as INVALID, as I believe the bug is in qmake. Let&apos;s hope we can fix it there :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>713177</commentid>
    <comment_count>6</comment_count>
      <attachid>162016</attachid>
    <who name="Simon Hausmann">hausmann</who>
    <bug_when>2012-09-06 04:58:23 -0700</bug_when>
    <thetext>Comment on attachment 162016
Patch

Clearing review on the patch, I don&apos;t believe that patch should be needed.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>162016</attachid>
            <date>2012-09-04 05:07:59 -0700</date>
            <delta_ts>2012-09-06 04:58:23 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-95736.patch</filename>
            <type>text/plain</type>
            <size>1080</size>
            <attacher name="Jonathan Liu">net147</attacher>
            
              <data encoding="base64">SW5kZXg6IENoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBDaGFuZ2VMb2cJKHJldmlzaW9uIDEyNzQ1
NykKKysrIENoYW5nZUxvZwkod29ya2luZyBjb3B5KQpAQCAtMSwzICsxLDE1IEBACisyMDEyLTA5
LTA0ICBKb25hdGhhbiBMaXUgIDxuZXQxNDdAZ21haWwuY29tPgorCisgICAgICAgIEFkZCBtaXNz
aW5nIGluY2x1ZGUgcGF0aCBmb3IgaHlicmlkUGl4bWFwIHRlc3QuCisgICAgICAgIGh0dHBzOi8v
YnVncy53ZWJraXQub3JnL3Nob3dfYnVnLmNnaT9pZD05NTczNgorCisgICAgICAgIFJldmlld2Vk
IGJ5IE5PQk9EWSAoT09QUyEpLgorCisgICAgICAgIENvbXBpbGluZyB1aV93aWRnZXQuaCBmYWls
cyB0byBmaW5kIHdpZGdldC5oIGJlY2F1c2UgdGhlIGRpcmVjdG9yeQorICAgICAgICBjb250YWlu
aW5nIGl0IGlzIG5vdCBpbiBhbnkgb2YgdGhlIGluY2x1ZGUgcGF0aHMuCisKKyAgICAgICAgKiBT
b3VyY2UvV2ViS2l0L3F0L3Rlc3RzL2h5YnJpZFBpeG1hcC9oeWJyaWRQaXhtYXAucHJvOgorCiAy
MDEyLTA5LTA0ICBBbGxhbiBTYW5kZmVsZCBKZW5zZW4gIDxhbGxhbi5qZW5zZW5Abm9raWEuY29t
PgogCiAgICAgICAgIEFsbG93IGNoaWxkLWZyYW1lIGNvbnRlbnQgaW4gaGl0LXRlc3RzLgpJbmRl
eDogU291cmNlL1dlYktpdC9xdC90ZXN0cy9oeWJyaWRQaXhtYXAvaHlicmlkUGl4bWFwLnBybwo9
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09Ci0tLSBTb3VyY2UvV2ViS2l0L3F0L3Rlc3RzL2h5YnJpZFBpeG1hcC9oeWJyaWRQ
aXhtYXAucHJvCShyZXZpc2lvbiAxMjc0NTcpCisrKyBTb3VyY2UvV2ViS2l0L3F0L3Rlc3RzL2h5
YnJpZFBpeG1hcC9oeWJyaWRQaXhtYXAucHJvCSh3b3JraW5nIGNvcHkpCkBAIC04LDMgKzgsNCBA
QCBIRUFERVJTICs9IHdpZGdldC5oCiBGT1JNUyArPSB3aWRnZXQudWkKIFJFU09VUkNFUyArPSBy
ZXNvdXJjZXMucXJjCiBDT05GSUcgKz0gY29uc29sZQorSU5DTFVERVBBVEggKz0gJCRQV0QK
</data>

          </attachment>
      

    </bug>

</bugzilla>