[Qt-creator] Problems with VS debug helpers

Jonathan Arnold jdarnold at buddydog.org
Fri Jul 17 15:16:40 CEST 2009


Jonathan Arnold wrote:
> I'm trying to build the MSVC debug helpers, but I'm getting a bunch of linker
> errors, so it's not working.
> 
> QT 4.5.2
> Wndows XPp
> VS 2008
> 
> I built a custom (static!) Qt  using VS2008 and it seems to be working okay. I
> can debug just fine. But when I click the Rebuild button for the helpers, I get:

Ping! Anyone have any ideas why I can't link the debugger helpers when using my
MSVC 2008 Qt?

> 
> Building debugging helper library in C:/Qt/2009.03/qtvc/qtc-debugging-helper/
> 
>     link /LIBPATH:"c:\Qt\2009.03\qtvc\lib" /LIBPATH:"c:\Qt\2009.03\qtvc\lib" /NOLOGO /DEBUG /DLL /MANIFEST /MANIFESTFILE:"tmp\obj\debug_static\gdbmacros.intermediate.manifest" /OUT:debug\gdbmacros.dll @C:\DOCUME~1\jdarnold\LOCALS~1\Temp\nm32.tmp
>    Creating library debug\gdbmacros.lib and object debug\gdbmacros.exp
> gdbmacros.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: char const * __thiscall QByteArray::constData(void)const " (__imp_?constData at QByteArray@@QBEPBDXZ) referenced in function "public: struct A0x589c70dc::QDumper & __thiscall `anonymous namespace'::QDumper::operator<<(class QByteArray const &)" (??6QDumper@?A0x589c70dc@@QAEAAU01 at ABVQByteArray@@@Z)
> gdbmacros.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: int __thiscall QByteArray::size(void)const " (__imp_?size at QByteArray@@QBEHXZ) referenced in function "public: struct A0x589c70dc::QDumper & __thiscall `anonymous namespace'::QDumper::operator<<(class QByteArray const &)" (??6QDumper@?A0x589c70dc@@QAEAAU01 at ABVQByteArray@@@Z)
> gdbmacros.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: class QChar const * __thiscall QString::constData(void)const " (__imp_?constData at QString@@QBEPBVQChar@@XZ) referenced in function "public: struct A0x589c70dc::QDumper & __thiscall `anonymous namespace'::QDumper::operator<<(class QString const &)" (??6QDumper@?A0x589c70dc@@QAEAAU01 at ABVQString@@@Z)
> gdbmacros.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: int __thiscall QString::size(void)const " (__imp_?size at QString@@QBEHXZ) referenced in function "public: struct A0x589c70dc::QDumper & __thiscall `anonymous namespace'::QDumper::operator<<(class QString const &)" (??6QDumper@?A0x589c70dc@@QAEAAU01 at ABVQString@@@Z)
> gdbmacros.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) int __cdecl qstrcmp(char const *,char const *)" (__imp_?qstrcmp@@YAHPBD0 at Z) referenced in function "bool __cdecl `anonymous namespace'::isEqual(char const *,char const *)" (?isEqual@?A0x589c70dc@@YA_NPBD0 at Z)
> gdbmacros.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall QDebug::~QDebug(void)" (__imp_??1QDebug@@QAE at XZ) referenced in function _qDumpObjectData440
> gdbmacros.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: class QDebug & __thiscall QDebug::operator<<(int)" (__imp_??6QDebug@@QAEAAV0 at H@Z) referenced in function _qDumpObjectData440
> gdbmacros.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: class QDebug & __thiscall QDebug::operator<<(char const *)" (__imp_??6QDebug@@QAEAAV0 at PBD@Z) referenced in function _qDumpObjectData440

,,,

-- 
Jonathan Arnold        Webstream: http://hieronymus.soup.io

It is inaccurate to say that I hate everything. I am strongly in favor of common sense,
common honesty, and common decency. This makes me forever ineligible for public office.
 -- H.L. Mencken



More information about the Qt-creator-old mailing list