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_?constd...@qbytearray@@QBEPBDXZ) 
> referenced in function "public: struct A0x589c70dc::QDumper & __thiscall 
> `anonymous namespace'::QDumper::operator<<(class QByteArray const &)" 
> (??6qdum...@?a0x589c70dc@@qaeaa...@abvqbytearray@@@Z)
> gdbmacros.obj : error LNK2019: unresolved external symbol 
> "__declspec(dllimport) public: int __thiscall QByteArray::size(void)const " 
> (__imp_?s...@qbytearray@@QBEHXZ) referenced in function "public: struct 
> A0x589c70dc::QDumper & __thiscall `anonymous 
> namespace'::QDumper::operator<<(class QByteArray const &)" 
> (??6qdum...@?a0x589c70dc@@qaeaa...@abvqbytearray@@@Z)
> gdbmacros.obj : error LNK2019: unresolved external symbol 
> "__declspec(dllimport) public: class QChar const * __thiscall 
> QString::constData(void)const " (__imp_?constd...@qstring@@QBEPBVQChar@@XZ) 
> referenced in function "public: struct A0x589c70dc::QDumper & __thiscall 
> `anonymous namespace'::QDumper::operator<<(class QString const &)" 
> (??6qdum...@?a0x589c70dc@@qaeaa...@abvqstring@@@Z)
> gdbmacros.obj : error LNK2019: unresolved external symbol 
> "__declspec(dllimport) public: int __thiscall QString::size(void)const " 
> (__imp_?s...@qstring@@QBEHXZ) referenced in function "public: struct 
> A0x589c70dc::QDumper & __thiscall `anonymous 
> namespace'::QDumper::operator<<(class QString const &)" 
> (??6qdum...@?a0x589c70dc@@qaeaa...@abvqstring@@@Z)
> gdbmacros.obj : error LNK2019: unresolved external symbol 
> "__declspec(dllimport) int __cdecl qstrcmp(char const *,char const *)" 
> (__imp_?qstrcmp@@yahp...@z) referenced in function "bool __cdecl `anonymous 
> namespace'::isEqual(char const *,char const *)" 
> (?iseq...@?a0x589c70dc@@ya_np...@z)
> gdbmacros.obj : error LNK2019: unresolved external symbol 
> "__declspec(dllimport) public: __thiscall QDebug::~QDebug(void)" 
> (__imp_??1QDebug@@q...@xz) referenced in function _qDumpObjectData440
> gdbmacros.obj : error LNK2019: unresolved external symbol 
> "__declspec(dllimport) public: class QDebug & __thiscall 
> QDebug::operator<<(int)" (__imp_??6QDebug@@qaea...@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@@qaea...@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
_______________________________________________
Qt-creator mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-creator

Reply via email to