[webkit-help] cut Qt webkit building error

Hui Tang Hui.Tang at cybercom.com
Thu Feb 25 02:12:03 PST 2010


Hi, all

 I want to cut Qt Webkit, and I add "USE_SYSTEM_MALLOC=1  ENABLE_SVG=0" to Qt webkit project file.

Wince* {
#    DEFINES += ENABLE_SVG=0 ENABLE_XPATH=0 ENABLE_XBL=0 \
#               ENABLE_SVG_ANIMATION=0 ENABLE_SVG_USE=0  \
#               ENABLE_SVG_FOREIGN_OBJECT=0 ENABLE_SVG_AS_IMAGE=0

          DEFINES += USE_SYSTEM_MALLOC=1  ENABLE_SVG=0

    INCLUDEPATH += $$PWD/../JavaScriptCore/os-wince
    INCLUDEPATH += $$PWD/../JavaScriptCore/os-win32
}

Then, I do "nmake clean && nmake", I got errors when building:

JSHTMLEmbedElement.cpp
generated\JSHTMLEmbedElement.cpp(287) : error C2039: 'getSVGDocument' : is not
 member of 'WebCore::HTMLEmbedElement'
        html\HTMLEmbedElement.h(30) : see declaration of 'WebCore::HTMLEmbedEle
ent'
generated\JSHTMLEmbedElement.cpp(291) : error C2039: 'getSVGDocument' : is not
 member of 'WebCore::HTMLEmbedElement'
        html\HTMLEmbedElement.h(30) : see declaration of 'WebCore::HTMLEmbedEle
ent'
JSHTMLFrameElement.cpp
generated\JSHTMLFrameElement.cpp(352) : error C2039: 'getSVGDocument' : is not
 member of 'WebCore::HTMLFrameElement'
        html\HTMLFrameElement.h(31) : see declaration of 'WebCore::HTMLFrameEle
ent'
generated\JSHTMLFrameElement.cpp(356) : error C2039: 'getSVGDocument' : is not
 member of 'WebCore::HTMLFrameElement'
        html\HTMLFrameElement.h(31) : see declaration of 'WebCore::HTMLFrameEle
ent'
JSHTMLIFrameElement.cpp
generated\JSHTMLIFrameElement.cpp(349) : error C2039: 'getSVGDocument' : is not
a member of 'WebCore::HTMLIFrameElement'
        html\HTMLIFrameElement.h(31) : see declaration of 'WebCore::HTMLIFrameE
ement'
generated\JSHTMLIFrameElement.cpp(353) : error C2039: 'getSVGDocument' : is not
a member of 'WebCore::HTMLIFrameElement'
        html\HTMLIFrameElement.h(31) : see declaration of 'WebCore::HTMLIFrameE
ement'
JSHTMLObjectElement.cpp
generated\JSHTMLObjectElement.cpp(468) : error C2039: 'getSVGDocument' : is not
a member of 'WebCore::HTMLObjectElement'
        html\HTMLObjectElement.h(30) : see declaration of 'WebCore::HTMLObjectE
ement'
generated\JSHTMLObjectElement.cpp(472) : error C2039: 'getSVGDocument' : is not
a member of 'WebCore::HTMLObjectElement'
        html\HTMLObjectElement.h(30) : see declaration of 'WebCore::HTMLObjectE
ement'
JSDOMWindow.cpp
generated\JSDOMWindow.cpp(3429) : error C2653: 'JSSVGAngle' : is not a class or
namespace name
generated\JSDOMWindow.cpp(3525) : error C3861: 'getConstructor': identifier not
found
generated\JSDOMWindow.cpp(3533) : error C2653: 'JSSVGUnitTypes' : is not a clas
 or namespace name
generated\JSDOMWindow.cpp(3533) : error C3861: 'getConstructor': identifier not
found
XPathGrammar.cpp
WebCore/tmp/../generated/XPathGrammar.tab.c(1167) : warning C4100: 'yytype' : u
referenced formal parameter
Generating Code...
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 8\VC\ce\b
n\x86_mips\cl.EXE"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 8\VC\bin\
make.exe"' : return code '0x2'
Stop.

Does anyone know why is this error happened?

Thanks

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-help/attachments/20100225/0d35083e/attachment-0001.html>


More information about the webkit-help mailing list