[Qt-interest] QString::toStdWString() link error
John Michael Zorko
jmzorko at mac.com
Wed Feb 11 07:17:48 CET 2009
Hello, all ...
I'm trying to use the Windows version of Qt, and when I try to use
QString::toStdWString(), I get an unresolved external:
error LNK2019: unresolved external symbol "public: int __thiscall
QString::toWCharArray(wchar_t *)const " (?
toWCharArray at QString@@QBEHPA_W at Z) referenced in function "public:
class std::basic_string<wchar_t,struct std::char_traits<wchar_t>,class
std::allocator<wchar_t> > __thiscall QString::toStdWString(void)const
" (?toStdWString at QString@@QBE?AV?$basic_string at _WU?
$char_traits at _W@std@@V?$allocator at _W@2@@std@@XZ)
C:\Users\Administrator\work\fw40\jmz_acl\build\bin\Debug\QtAdmin.exe :
fatal error LNK1120: 1 unresolved externals
... do I need to build Qt with a special flag or some other way to
enable QString::toStdWString()?
Regards,
John
Falling You - exploring the beauty of voice and sound
http://www.fallingyou.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090210/8ebe1f6c/attachment.html
More information about the Qt-interest-old
mailing list