<?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>60636</bug_id>
          
          <creation_ts>2011-05-11 09:59:53 -0700</creation_ts>
          <short_desc>missing stdint.h error in MimeSniffing.cpp</short_desc>
          <delta_ts>2011-05-16 06:16:58 -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 Misc.</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</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></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter>abaldeva</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>jturcotte</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>402063</commentid>
    <comment_count>0</comment_count>
    <who name="">abaldeva</who>
    <bug_when>2011-05-11 09:59:53 -0700</bug_when>
    <thetext>As per Benjamin Poulain&apos;s recommendation, filing a bug here.


For QtWebKit, I downloaded the latest source code from the WebKit trunk and installed the required tools for building QtWebKit(except make). I did not install any Windows build tools as I don&apos;t believe they are required. I am using Qt-4.7.1 and VS 2008. I opened a VS2008 command prompt and ran the build-webkit --qt --release script command. After building for a long time, I am seeing the compile error mentioned in the subject line (Missing stdint.h while compiling MineSniffing.cpp). I know VS2008 does not ship with that header but JavaScriptCore does. Any ideas why I am seeing this error?
 
I modified the source file to include &lt;os-win32/stdint.h&gt; and that seems to have resolved the compile issue. Strange though that some other places in WebCore are including &lt;stdint.h&gt; directly. And I get a successful link resulting in QtWebKit4.dll in the WebKitBuild\Release\bin directory.
 
However, I am seeing following linker error after that. Any ideas?
 
link /LIBPATH:&quot;c:\WebKit_trunk\WebKit-SVN-source\webkit\WebKitBuild\Release\lib&quot; /LIBPATH:&quot;c:\Qt\4.7.1\lib&quot; /NOLOGO /INCREMENTAL:NO /MANIFEST /MANIFESTFILE:&quot;obj/release\tst_qdeclarativewebview.intermediate.manifest&quot; /SUBSYSTEM:CONSOLE /OUT:release\tst_qdeclarativewebview.exe @C:\DOCUME~1\abaldeva\LOCALS~1\Temp\nm11D.tmp 
tst_qdeclarativewebview.obj : error LNK2019: unresolved external symbol &quot;public: static struct QMetaObject const QDeclarativeWebView::staticMetaObject&quot; (?staticMetaObject@QDeclarativeWebView@@2UQMetaObject@@B) referenced in function &quot;class QDeclarativeWebView * __cdecl qobject_cast&lt;class QDeclarativeWebView *&gt;(class QObject *)&quot; (??$qobject_cast@PAVQDeclarativeWebView@@@@YAPAVQDeclarativeWebView@@PAVQObject@@@Z)
release\tst_qdeclarativewebview.exe : fatal error LNK1120: 1 unresolved externals

Your help is appreciated.

Thanks.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>404440</commentid>
    <comment_count>1</comment_count>
    <who name="Jocelyn Turcotte">jturcotte</who>
    <bug_when>2011-05-16 06:16:58 -0700</bug_when>
    <thetext>Thanks, the compile and link errors have been fixed in these commits:

Committed r86437: &lt;http://trac.webkit.org/changeset/86437&gt;
Committed r86438: &lt;http://trac.webkit.org/changeset/86438&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>