win32 build stops with linker error

Christian Ehrlicher Ch.Ehrlicher at gmx.de
Tue Feb 7 20:29:50 CET 2006


Peter Kümmel schrieb:
> I've reached the linking of khtml, but it stops with two
> strange linker errors (at least only two):
> 
> 
> kio.lib(kio.dll) : error LNK2005: "public: class QString & __thiscall QMap<class QString,class QString>::operator[](class QSt
> ring const &)" (??A?$QMap at VQString@@V1@@@QAEAAVQString@@ABV1@@Z) already defined in khtml_printsettings.obj
> kio.lib(kio.dll) : error LNK2005: "public: __thiscall QMap<class QString,class QString>::~QMap<class QString,class QString>(v
> oid)" (??1?$QMap at VQString@@V1@@@QAE at XZ) already defined in khtml_settings.obj
> 
> 
> I think this is because KIO::MetaData (kio/kio/global.h) inherits from QMap.
> 
> I've tried without success
Don't export MetaData (It seems not to be used outside kio). But Thiago
Macieira won't like it... dunno know why.

Christian

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 250 bytes
Desc: OpenPGP digital signature
Url : http://mail.kde.org/pipermail/kde-buildsystem/attachments/20060207/9e6fb630/attachment.pgp 


More information about the Kde-buildsystem mailing list