Seite 1 von 1

[Qt 4.6.X] WebKit Probleme beim linken

Verfasst: 23. Januar 2010 10:47
von Datafreak
Hi,

ich hoffe ihr könnt mir vielleicht weiterhelfen.
Und zwar baue ich für Qussel-IRC die Windows-Clients. Mit Qt 4.5.3 funktioniert dies auch ohne Probleme. Mit Qt 4.6.0 und 4.6.1 ist es mit nicht mehr möglich den Client statisch zu bauen. Leider können mir die Developer von Quassel nicht weiterhelfen, daher wollte ich hier mal Fragen ob jemand eine Lösung kennt.

Ich erhalte folgende Fehlermeldung:
Linking CXX executable ..\quassel.exe
cd C:\dev\build\src
"C:\Programme\CMake 2.8\bin\cmake.exe" -E vs_link_exe C:\PROGRA~1\MICROS~1.0\VC\bin\cl.exe /nologo @CMakeFiles\quassel.dir\objects1
.rsp @C:\DOKUME~1\DATAFR~1\LOKALE~1\Temp\nm81D.tmp
Visual Studio Non-Incremental Link
LINK:
C:\PROGRA~1\MICROS~1.0\VC\bin\cl.exe /nologo @CMakeFiles\quassel.dir\objects1.rsp /DWIN32 /D_WINDOWS /W3 /Zm1000 /EHsc /GR /MD /O2 /Ob2 /D N
DEBUG -DQT_NO_DEBUG /Fe..\quassel.exe /FdC:\dev\build\src\..\quassel.pdb -link /implib:..\quassel.lib /version:0.0 /STACK:10000000 /machine:
I386 /INCREMENTAL:NO /subsystem:windows -LIBPATH:C:\dev\qt-everywhere-opensource-src-4.6.1-static\plugins\imageformats dwmapi.lib Version.li
b shlwapi.lib imm32.lib winmm.lib dbghelp.lib Secur32.lib C:\OpenSSL\lib\VC\static\ssleay32.lib libeay32MD.lib qtui\mod_qtui.lib uisupport\m
od_uisupport.lib client\mod_client.lib core\mod_core.lib common\mod_common.lib qjpeg.lib qgif.lib C:\dev\qt-everywhere-opensource-src-4.6.1-
static\lib\QtCore.lib C:\dev\qt-everywhere-opensource-src-4.6.1-static\lib\QtGui.lib C:\dev\qt-everywhere-opensource-src-4.6.1-static\lib\Qt
Network.lib C:\dev\qt-everywhere-opensource-src-4.6.1-static\lib\QtScript.lib C:\dev\qt-everywhere-opensource-src-4.6.1-static\lib\QtSql.lib
C:\dev\qt-everywhere-opensource-src-4.6.1-static\lib\QtWebKit.lib C:\dev\qt-everywhere-opensource-src-4.6.1-static\lib\qtmain.lib C:\dev\qt
-everywhere-opensource-src-4.6.1-static\lib\QtCore.lib ws2_32.lib dwmapi.lib Version.lib shlwapi.lib imm32.lib winmm.lib dbghelp.lib Secur32
.lib C:\OpenSSL\lib\VC\static\ssleay32.lib libeay32MD.lib C:\dev\qt-everywhere-opensource-src-4.6.1-static\lib\QtGui.lib C:\dev\qt-everywher
e-opensource-src-4.6.1-static\lib\QtNetwork.lib C:\dev\qt-everywhere-opensource-src-4.6.1-static\lib\QtScript.lib C:\dev\qt-everywhere-opens
ource-src-4.6.1-static\lib\QtSql.lib C:\dev\qt-everywhere-opensource-src-4.6.1-static\lib\QtWebKit.lib C:\dev\qt-everywhere-opensource-src-4
.6.1-static\lib\qtmain.lib ws2_32.lib kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.li
b advapi32.lib /MANIFEST
QtWebKit.lib(JSClassRef.obj) : error LNK2005: "public: __thiscall OpaqueJSClass::~OpaqueJSClass(void)" (??1OpaqueJSClass@@QAE@XZ) ist bereit
s in QtScript.lib(JSClassRef.obj) definiert.
QtWebKit.lib(JSClassRef.obj) : error LNK2005: "private: __thiscall OpaqueJSClass::OpaqueJSClass(struct JSClassDefinition const *,struct Opaq
ueJSClass *)" (??0OpaqueJSClass@@AAE@PBUJSClassDefinition@@PAU0@@Z) ist bereits in QtScript.lib(JSClassRef.obj) definiert.
QtWebKit.lib(JSClassRef.obj) : error LNK2005: "public: __thiscall OpaqueJSClassContextData::OpaqueJSClassContextData(struct OpaqueJSClass *)
" (??0OpaqueJSClassContextData@@QAE@PAUOpaqueJSClass@@@Z) ist bereits in QtScript.lib(JSClassRef.obj) definiert.
QtWebKit.lib(JSClassRef.obj) : error LNK2005: "public: __thiscall OpaqueJSClassContextData::~OpaqueJSClassContextData(void)" (??1OpaqueJSCla
ssContextData@@QAE@XZ) ist bereits in QtScript.lib(JSClassRef.obj) definiert.
QtWebKit.lib(JSClassRef.obj) : error LNK2005: _kJSClassDefinitionEmpty ist bereits in QtScript.lib(JSClassRef.obj) definiert.
Bibliothek "..\quassel.lib" und Objekt "..\quassel.exp" werden erstellt.
QtWebKit.lib(XSLTProcessorQt.obj) : error LNK2019: Verweis auf nicht aufgel÷stes externes Symbol ""public: __thiscall QAbstractMessageHandle
r::QAbstractMessageHandler(class QObject *)" (??0QAbstractMessageHandler@@QAE@PAVQObject@@@Z)" in Funktion ""public: __thiscall WebCore::XSL
TMessageHandler::XSLTMessageHandler(class WebCore::Document *)" (??0XSLTMessageHandler@WebCore@@QAE@PAVDocument@1@@Z)".
QtWebKit.lib(XSLTProcessorQt.obj) : error LNK2001: Nicht aufgel÷stes externes Symbol ""public: virtual struct QMetaObject const * __thiscall
QAbstractMessageHandler::metaObject(void)const " (?metaObject@QAbstractMessageHandler@@UBEPBUQMetaObject@@XZ)".
QtWebKit.lib(XSLTProcessorQt.obj) : error LNK2001: Nicht aufgel÷stes externes Symbol ""public: virtual void * __thiscall QAbstractMessageHan
dler::qt_metacast(char const *)" (?qt_metacast@QAbstractMessageHandler@@UAEPAXPBD@Z)".
QtWebKit.lib(XSLTProcessorQt.obj) : error LNK2001: Nicht aufgel÷stes externes Symbol ""public: virtual int __thiscall QAbstractMessageHandle
r::qt_metacall(enum QMetaObject::Call,int,void * *)" (?qt_metacall@QAbstractMessageHandler@@UAEHW4Call@QMetaObject@@HPAPAX@Z)".
QtWebKit.lib(XSLTProcessorQt.obj) : error LNK2019: Verweis auf nicht aufgel÷stes externes Symbol ""public: virtual __thiscall QAbstractMessa
geHandler::~QAbstractMessageHandler(void)" (??1QAbstractMessageHandler@@UAE@XZ)" in Funktion ""public: virtual __thiscall WebCore::XSLTMessa
geHandler::~XSLTMessageHandler(void)" (??1XSLTMessageHandler@WebCore@@UAE@XZ)".
QtWebKit.lib(XSLTProcessorQt.obj) : error LNK2019: Verweis auf nicht aufgel÷stes externes Symbol ""public: __thiscall QAbstractUriResolver::
QAbstractUriResolver(class QObject *)" (??0QAbstractUriResolver@@QAE@PAVQObject@@@Z)" in Funktion ""public: __thiscall WebCore::XSLTUriResol
ver::XSLTUriResolver(class WebCore::Document *)" (??0XSLTUriResolver@WebCore@@QAE@PAVDocument@1@@Z)".
QtWebKit.lib(XSLTProcessorQt.obj) : error LNK2001: Nicht aufgel÷stes externes Symbol ""public: virtual struct QMetaObject const * __thiscall
QAbstractUriResolver::metaObject(void)const " (?metaObject@QAbstractUriResolver@@UBEPBUQMetaObject@@XZ)".
QtWebKit.lib(XSLTProcessorQt.obj) : error LNK2001: Nicht aufgel÷stes externes Symbol ""public: virtual void * __thiscall QAbstractUriResolve
r::qt_metacast(char const *)" (?qt_metacast@QAbstractUriResolver@@UAEPAXPBD@Z)".
QtWebKit.lib(XSLTProcessorQt.obj) : error LNK2001: Nicht aufgel÷stes externes Symbol ""public: virtual int __thiscall QAbstractUriResolver::
qt_metacall(enum QMetaObject::Call,int,void * *)" (?qt_metacall@QAbstractUriResolver@@UAEHW4Call@QMetaObject@@HPAPAX@Z)".
QtWebKit.lib(XSLTProcessorQt.obj) : error LNK2019: Verweis auf nicht aufgel÷stes externes Symbol ""public: virtual __thiscall QAbstractUriRe
solver::~QAbstractUriResolver(void)" (??1QAbstractUriResolver@@UAE@XZ)" in Funktion ""public: virtual __thiscall WebCore::XSLTUriResolver::~
XSLTUriResolver(void)" (??1XSLTUriResolver@WebCore@@UAE@XZ)".
QtWebKit.lib(XSLTProcessorQt.obj) : error LNK2019: Verweis auf nicht aufgel÷stes externes Symbol ""public: __int64 __thiscall QSourceLocatio
n::line(void)const " (?line@QSourceLocation@@QBE_JXZ)" in Funktion ""public: virtual void __thiscall WebCore::XSLTMessageHandler::handleMess
age(enum QtMsgType,class QString const &,class QUrl const &,class QSourceLocation const &)" (?handleMessage@XSLTMessageHandler@WebCore@@UAEX
W4QtMsgType@@ABVQString@@ABVQUrl@@ABVQSourceLocation@@@Z)".
QtWebKit.lib(XSLTProcessorQt.obj) : error LNK2019: Verweis auf nicht aufgel÷stes externes Symbol ""public: class QUrl __thiscall QSourceLoca
tion::uri(void)const " (?uri@QSourceLocation@@QBE?AVQUrl@@XZ)" in Funktion ""public: virtual void __thiscall WebCore::XSLTMessageHandler::ha
ndleMessage(enum QtMsgType,class QString const &,class QUrl const &,class QSourceLocation const &)" (?handleMessage@XSLTMessageHandler@WebCo
re@@UAEXW4QtMsgType@@ABVQString@@ABVQUrl@@ABVQSourceLocation@@@Z)".
QtWebKit.lib(XSLTProcessorQt.obj) : error LNK2019: Verweis auf nicht aufgel÷stes externes Symbol ""public: __thiscall QXmlQuery::~QXmlQuery(
void)" (??1QXmlQuery@@QAE@XZ)" in Funktion ""public: bool __thiscall WebCore::XSLTProcessor::transformToString(class WebCore::Node *,class W
ebCore::String &,class WebCore::String &,class WebCore::String &)" (?transformToString@XSLTProcessor@WebCore@@QAE_NPAVNode@2@AAVString@2@11@
Z)".
QtWebKit.lib(XSLTProcessorQt.obj) : error LNK2019: Verweis auf nicht aufgel÷stes externes Symbol ""public: bool __thiscall QXmlQuery::evalua
teTo(class QIODevice *)const " (?evaluateTo@QXmlQuery@@QBE_NPAVQIODevice@@@Z)" in Funktion ""public: bool __thiscall WebCore::XSLTProcessor:
:transformToString(class WebCore::Node *,class WebCore::String &,class WebCore::String &,class WebCore::String &)" (?transformToString@XSLTP
rocessor@WebCore@@QAE_NPAVNode@2@AAVString@2@11@Z)".
QtWebKit.lib(XSLTProcessorQt.obj) : error LNK2019: Verweis auf nicht aufgel÷stes externes Symbol ""public: void __thiscall QXmlQuery::setUri
Resolver(class QAbstractUriResolver const *)" (?setUriResolver@QXmlQuery@@QAEXPBVQAbstractUriResolver@@@Z)" in Funktion ""public: bool __thi
scall WebCore::XSLTProcessor::transformToString(class WebCore::Node *,class WebCore::String &,class WebCore::String &,class WebCore::String
&)" (?transformToString@XSLTProcessor@WebCore@@QAE_NPAVNode@2@AAVString@2@11@Z)".
QtWebKit.lib(XSLTProcessorQt.obj) : error LNK2019: Verweis auf nicht aufgel÷stes externes Symbol ""public: void __thiscall QXmlQuery::setQue
ry(class QIODevice *,class QUrl const &)" (?setQuery@QXmlQuery@@QAEXPAVQIODevice@@ABVQUrl@@@Z)" in Funktion ""public: bool __thiscall WebCor
e::XSLTProcessor::transformToString(class WebCore::Node *,class WebCore::String &,class WebCore::String &,class WebCore::String &)" (?transf
ormToString@XSLTProcessor@WebCore@@QAE_NPAVNode@2@AAVString@2@11@Z)".
QtWebKit.lib(XSLTProcessorQt.obj) : error LNK2019: Verweis auf nicht aufgel÷stes externes Symbol ""public: bool __thiscall QXmlQuery::setFoc
us(class QIODevice *)" (?setFocus@QXmlQuery@@QAE_NPAVQIODevice@@@Z)" in Funktion ""public: bool __thiscall WebCore::XSLTProcessor::transform
ToString(class WebCore::Node *,class WebCore::String &,class WebCore::String &,class WebCore::String &)" (?transformToString@XSLTProcessor@W
ebCore@@QAE_NPAVNode@2@AAVString@2@11@Z)".
QtWebKit.lib(XSLTProcessorQt.obj) : error LNK2019: Verweis auf nicht aufgel÷stes externes Symbol ""public: __thiscall QXmlItem::~QXmlItem(vo
id)" (??1QXmlItem@@QAE@XZ)" in Funktion ""public: bool __thiscall WebCore::XSLTProcessor::transformToString(class WebCore::Node *,class WebC
ore::String &,class WebCore::String &,class WebCore::String &)" (?transformToString@XSLTProcessor@WebCore@@QAE_NPAVNode@2@AAVString@2@11@Z)"
.
QtWebKit.lib(XSLTProcessorQt.obj) : error LNK2019: Verweis auf nicht aufgel÷stes externes Symbol ""public: void __thiscall QXmlQuery::bindVa
riable(class QString const &,class QXmlItem const &)" (?bindVariable@QXmlQuery@@QAEXABVQString@@ABVQXmlItem@@@Z)" in Funktion ""public: bool
__thiscall WebCore::XSLTProcessor::transformToString(class WebCore::Node *,class WebCore::String &,class WebCore::String &,class WebCore::S
tring &)" (?transformToString@XSLTProcessor@WebCore@@QAE_NPAVNode@2@AAVString@2@11@Z)".
QtWebKit.lib(XSLTProcessorQt.obj) : error LNK2019: Verweis auf nicht aufgel÷stes externes Symbol ""public: __thiscall QXmlItem::QXmlItem(cla
ss QVariant const &)" (??0QXmlItem@@QAE@ABVQVariant@@@Z)" in Funktion ""public: bool __thiscall WebCore::XSLTProcessor::transformToString(cl
ass WebCore::Node *,class WebCore::String &,class WebCore::String &,class WebCore::String &)" (?transformToString@XSLTProcessor@WebCore@@QAE
_NPAVNode@2@AAVString@2@11@Z)".
QtWebKit.lib(XSLTProcessorQt.obj) : error LNK2019: Verweis auf nicht aufgel÷stes externes Symbol ""public: void __thiscall QXmlQuery::setMes
sageHandler(class QAbstractMessageHandler *)" (?setMessageHandler@QXmlQuery@@QAEXPAVQAbstractMessageHandler@@@Z)" in Funktion ""public: bool
__thiscall WebCore::XSLTProcessor::transformToString(class WebCore::Node *,class WebCore::String &,class WebCore::String &,class WebCore::S
tring &)" (?transformToString@XSLTProcessor@WebCore@@QAE_NPAVNode@2@AAVString@2@11@Z)".
QtWebKit.lib(XSLTProcessorQt.obj) : error LNK2019: Verweis auf nicht aufgel÷stes externes Symbol ""public: __thiscall QXmlNamePool::~QXmlNam
ePool(void)" (??1QXmlNamePool@@QAE@XZ)" in Funktion ""public: bool __thiscall WebCore::XSLTProcessor::transformToString(class WebCore::Node
*,class WebCore::String &,class WebCore::String &,class WebCore::String &)" (?transformToString@XSLTProcessor@WebCore@@QAE_NPAVNode@2@AAVStr
ing@2@11@Z)".
QtWebKit.lib(XSLTProcessorQt.obj) : error LNK2019: Verweis auf nicht aufgel÷stes externes Symbol ""public: __thiscall QXmlQuery::QXmlQuery(e
num QXmlQuery::QueryLanguage,class QXmlNamePool const &)" (??0QXmlQuery@@QAE@W4QueryLanguage@0@ABVQXmlNamePool@@@Z)" in Funktion ""public: b
ool __thiscall WebCore::XSLTProcessor::transformToString(class WebCore::Node *,class WebCore::String &,class WebCore::String &,class WebCore
::String &)" (?transformToString@XSLTProcessor@WebCore@@QAE_NPAVNode@2@AAVString@2@11@Z)".
QtWebKit.lib(XSLTProcessorQt.obj) : error LNK2019: Verweis auf nicht aufgel÷stes externes Symbol ""public: __thiscall QXmlNamePool::QXmlName
Pool(void)" (??0QXmlNamePool@@QAE@XZ)" in Funktion ""public: bool __thiscall WebCore::XSLTProcessor::transformToString(class WebCore::Node *
,class WebCore::String &,class WebCore::String &,class WebCore::String &)" (?transformToString@XSLTProcessor@WebCore@@QAE_NPAVNode@2@AAVStri
ng@2@11@Z)".
..\quassel.exe : fatal error LNK1120: 24 nicht aufgel÷ste externe Verweise.
LINK failed. with 2
NMAKE : fatal error U1077: ""C:\Programme\CMake 2.8\bin\cmake.exe"": Rückgabe-Code "0xffffffff"
Stop.
NMAKE : fatal error U1077: ""C:\Programme\Microsoft Visual Studio 9.0\VC\BIN\nmake.exe"": Rückgabe-Code "0x2"
Stop.
NMAKE : fatal error U1077: ""C:\Programme\Microsoft Visual Studio 9.0\VC\BIN\nmake.exe"": Rückgabe-Code "0x2"
Stop.
Gruß,
Datafreak