On Wed, 2011-07-20 at 11:23 -0700, ext Thomas Ehrnhoefer wrote:
> I am trying to compile the "QtSDKProject" aka tracplugin on Qt Creator
> 2.2.1. 
 [ ... ]
>         Creating library ..\..\..\lib\qtcreator\plugins\Nokia
>         \TracPlugin.lib and object ..\.\..\lib\qtcreator\plugins\Nokia
>         \TracPlugin.exp
>         
>         passwordhelper.obj : error LNK2019: unresolved external symbol
>         "public: static unsigned int const
>         Botan::Pipe::DEFAULT_MESSAGE" (?DEFAULT_MESSAGE@Pipe@Botan@@2IB) 
> referenced in function "public: bool thiscall PasswordHel
>         per::decrypt(class QString &,class QString
>         *)" (?decrypt@PasswordHelper@@QAE_NAAVQString@@PAV2@@Z)

AFAIK, VC++ has problems dealing with static class members across
libraries. The problematic symbol ("DEFAULT_MESSAGE") can be replaced by
a call to message_count()-1 on the respective object, which should make
the error go away.


Christian

_______________________________________________
Qt-creator mailing list
[email protected]
http://lists.qt.nokia.com/mailman/listinfo/qt-creator

Reply via email to