[Qt-interest] Boost filesystem v3 with Qt.
Surya Kiran Gullapalli
suryakiran.gullapalli at gmail.com
Sun Jun 5 21:04:21 CEST 2011
Hello,
Sorry for cross-posting. I'm facing an issue with Qt (4.7.2, installed
from Qt installer) with Boost.Filesystem v3 (1.46.1) on VS2008.
I'm facing linker errors with QString::toStdWString when /Zc:wchar_t is set
like this:
unresolved external symbol "__declspec(dllimport) public: class
std::basic_string<wchar_t,struct std::char_traits<wchar_t>,class
std::allocator<wchar_t> > __thiscall QString::toStdWString(void)const
" (__imp_?toStdWString at QString@@QBE?AV?$basic_string at _WU?$char_traits at _W@std@@V?$allocator at _W@2@@std@@XZ)
referenced in function "private: void __thiscall
DirView::readDirectory(class QModelIndex const &)"
(?readDirectory at DirView@@AAEXABVQModelIndex@@@Z)
and linker errors with std::codecvt when /Zc:wchar_t- is set
like this:
unresolved external symbol "__declspec(dllimport) public: static class
std::codecvt<unsigned short,char,int> const & __cdecl
boost::filesystem3::path::codecvt(void)"
(__imp_?codecvt at path@filesystem3 at boost@@SAABV?$codecvt at GDH@std@@XZ)
referenced in function "public: __thiscall
boost::filesystem3::path::path<class std::basic_string<unsigned
short,struct std::char_traits<unsigned short>,class
std::allocator<unsigned short> > >(class std::basic_string<unsigned
short,struct std::char_traits<unsigned short>,class
std::allocator<unsigned short> > const &,void *)"
(??$?0V?$basic_string at GU?$char_traits at G@std@@V?$allocator at G@2@@std@@@path at filesystem3@boost@@QAE at ABV?$basic_string at GU?$char_traits at G@std@@V?$allocator at G@2@@std@@PAX at Z)
How can i use Qt with boost filesystem ?
Thanks in advance,
Surya
More information about the Qt-interest-old
mailing list