<?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>33104</bug_id>
          
          <creation_ts>2010-01-02 04:30:38 -0800</creation_ts>
          <short_desc>[Qt] QtWebKit includes don&apos;t work if Qt was built with -no-script</short_desc>
          <delta_ts>2010-03-10 06:05:15 -0800</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>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>34519</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>Qt</keywords>
          <priority>P1</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Bernhard Rosenkraenzer">bero</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>benjamin</cc>
    
    <cc>kent.hansen</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>176308</commentid>
    <comment_count>0</comment_count>
    <who name="Bernhard Rosenkraenzer">bero</who>
    <bug_when>2010-01-02 04:30:38 -0800</bug_when>
    <thetext>When using QtWebKit in a version of Qt that was configured with -no-script, the following error occurs:

In file included from /usr/local/Trolltech/QtEmbedded-4.7.0-arm/include/QtWebKit/QWebFrame:1,
                 from app.cpp:19:
/usr/local/Trolltech/QtEmbedded-4.7.0-arm/include/QtWebKit/qwebframe.h:28:36: error: QtScript/qscriptengine.h: No such file or directory
/usr/local/Trolltech/QtEmbedded-4.7.0-arm/include/QtWebKit/qwebframe.h:137: error: &apos;QScriptEngine&apos; has not been declared
/usr/local/Trolltech/QtEmbedded-4.7.0-arm/include/QtWebKit/qwebframe.h:137: error: &apos;ValueOwnership&apos; has not been declared
make: *** [app.o] Error 1


Probably just missing a couple of ifdefs...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>196673</commentid>
    <comment_count>1</comment_count>
    <who name="Benjamin Poulain">benjamin</who>
    <bug_when>2010-03-05 14:33:55 -0800</bug_when>
    <thetext>Effectively, some #ifdef are missing.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>198009</commentid>
    <comment_count>2</comment_count>
    <who name="Kent Hansen">kent.hansen</who>
    <bug_when>2010-03-10 05:59:34 -0800</bug_when>
    <thetext>I guess the forwarding headers are not created.
We need to use the QScriptEngine::Ownership type, otherwise it won&apos;t be BC.
Can we use the relative path? That would be a patch specific to code living in Qt src/3rdparty/webkit, though. :-/

In the long term, if QtWebKit is going to link against QtScript and use the QtScript API for everything related to scripting, it seems like -no-script would actually imply -no-webkit.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>198013</commentid>
    <comment_count>3</comment_count>
    <who name="Kent Hansen">kent.hansen</who>
    <bug_when>2010-03-10 06:05:15 -0800</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 34519 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>