PDA

View Full Version : How to compile my QtWebKit4.dll in Qt4.5



cspp
10th June 2009, 13:24
My platform is WinXp,VS2008 and Qt4.5
when I config it in default,there are some error when compile the WebKit.

the error infomation is:

link /LIBPATH:"d:\Qt\4.5.0\lib" /LIBPATH:"d:\Qt\4.5.0\lib" /NOLOGO /INCREMENTAL:NO /LTCG /DLL
/MANIFEST /MANIFESTFILE:"tmp\obj\release_shared\QtWebKit.intermediate.manif est" /VERSION:4.50 /OUT:..\
..\..\..\lib\QtWebKit4.dll @C:\DOCUME~1\lvb\LOCALS~1\Temp\nm2356.tmp
正在创建库 ..\..\..\..\lib\QtWebKit4.lib 和对象 ..\..\..\..\lib\QtWebKit4.exp
Position.obj : error LNK2001: 无法解析的外部符号 "private: __thiscall WebCore::CSSComputedStyleDeclara
tion::CSSComputedStyleDeclaration(class WTF::PassRefPtr<class WebCore::Node>)" (??0CSSComputedStyleDec
laration@WebCore@@AAE@V?$PassRefPtr@VNode@WebCore@ @@WTF@@@Z)
ApplyStyleCommand.obj : error LNK2001: 无法解析的外部符号 "public: class WTF::PassRefPtr<class WebCore
::CSSValue> __thiscall WebCore::CSSComputedStyleDeclaration::getPropertyC SSValue(int,enum WebCore::EUp
dateLayout)const " (?getPropertyCSSValue@CSSComputedStyleDeclaration@ WebCore@@QBE?AV?$PassRefPtr@VCSSV
alue@WebCore@@@WTF@@HW4EUpdateLayout@2@@Z)
DeleteSelectionCommand.obj : error LNK2001: 无法解析的外部符号 "public: class WTF::PassRefPtr<class We
bCore::CSSMutableStyleDeclaration> __thiscall WebCore::CSSComputedStyleDeclaration::copyInherita blePro
perties(void)const " (?copyInheritableProperties@CSSComputedStyleDeclar ation@WebCore@@QBE?AV?$PassRefP
tr@VCSSMutableStyleDeclaration@WebCore@@@WTF@@XZ)
..\..\..\..\lib\QtWebKit4.dll : fatal error LNK1120: 3 个无法解析的外部命令
NMAKE : fatal error U1077: “"D:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\link.EXE"”: 返回代
码“0x460”
Stop.
NMAKE : fatal error U1077: “"D:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\nmake.exe"”: 返回代
码“0x2”
Stop.


thanks

wysota
16th June 2009, 10:06
It would be easier if we understood those chinese error messages. Could you translate them?