sudheer168
1st September 2009, 08:39
Hi ,
I have a problem regarding QT integration with MS visual studio under windowsXP.
previously I have downloaded "qt-win-commercial-4.4.0.exe" package and integrated with MS Visual Studio 2003 using package "qt-vsintegration-1.4.0.exe". First I installed MS Visual Studio 2003 and then qt-win-commercial-4.4.0.exe just by clicking on the icon after then I integrated just by clicking on qt-vsintegration-1.4.0.exe. this is the process I have done previously.
Now I am trying to do the same with MS Visual Studio 2008 under Windows Vista. But it is not integrating properly. I mean it showing erros while I am compiling a basic Qt program (it is just I created a new QTApplication project and then compiled). The errors are
Error1error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall std::locale::facet::_Register(void)" (__imp_?_Register@facet@locale@std@@QAEXXZ) referenced in function "class std::ctype<char> const & __cdecl std::use_facet<class std::ctype<char> >(class std::locale const &)" (??$use_facet@V?$ctype@D@std@@@std@@YAABV?$ctype@D @0@ABVlocale@0@@Z)
Error2error LNK2019: unresolved external symbol "__declspec(dllimport) public: static unsigned int __cdecl std::ctype<char>::_Getcat(class std::locale::facet const * *)" (__imp_?_Getcat@?$ctype@D@std@@SAIPAPBVfacet@local e@2@@Z) referenced in function "class std::ctype<char> const & __cdecl std::use_facet<class std::ctype<char> >(class std::locale const &)" (??$use_facet@V?$ctype@D@std@@@std@@YAABV?$ctype@D @0@ABVlocale@0@@Z)
Error3error LNK2019: unresolved external symbol "__declspec(dllimport) public: static unsigned int __cdecl std::ctype<unsigned short>::_Getcat(class std::locale::facet const * *)" (__imp_?_Getcat@?$ctype@G@std@@SAIPAPBVfacet@local e@2@@Z) referenced in function "class std::ctype<unsigned short> const & __cdecl std::use_facet<class std::ctype<unsigned short> >(class std::locale const &)" (??$use_facet@V?$ctype@G@std@@@std@@YAABV?$ctype@G @0@ABVlocale@0@@Z)
Error4fatal error LNK1120: 3 unresolved externalsD:\Sudheer data\ssss\Debug\ssss.exe
So how can I get out of these errors. If not please suggest me which version of QT I have to download to work under windows Vista and which addin I have to download to integrate QT with MS visual studio2008.
Please suggest me to solve this problem.
with regards,
sudheer.
I have a problem regarding QT integration with MS visual studio under windowsXP.
previously I have downloaded "qt-win-commercial-4.4.0.exe" package and integrated with MS Visual Studio 2003 using package "qt-vsintegration-1.4.0.exe". First I installed MS Visual Studio 2003 and then qt-win-commercial-4.4.0.exe just by clicking on the icon after then I integrated just by clicking on qt-vsintegration-1.4.0.exe. this is the process I have done previously.
Now I am trying to do the same with MS Visual Studio 2008 under Windows Vista. But it is not integrating properly. I mean it showing erros while I am compiling a basic Qt program (it is just I created a new QTApplication project and then compiled). The errors are
Error1error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall std::locale::facet::_Register(void)" (__imp_?_Register@facet@locale@std@@QAEXXZ) referenced in function "class std::ctype<char> const & __cdecl std::use_facet<class std::ctype<char> >(class std::locale const &)" (??$use_facet@V?$ctype@D@std@@@std@@YAABV?$ctype@D @0@ABVlocale@0@@Z)
Error2error LNK2019: unresolved external symbol "__declspec(dllimport) public: static unsigned int __cdecl std::ctype<char>::_Getcat(class std::locale::facet const * *)" (__imp_?_Getcat@?$ctype@D@std@@SAIPAPBVfacet@local e@2@@Z) referenced in function "class std::ctype<char> const & __cdecl std::use_facet<class std::ctype<char> >(class std::locale const &)" (??$use_facet@V?$ctype@D@std@@@std@@YAABV?$ctype@D @0@ABVlocale@0@@Z)
Error3error LNK2019: unresolved external symbol "__declspec(dllimport) public: static unsigned int __cdecl std::ctype<unsigned short>::_Getcat(class std::locale::facet const * *)" (__imp_?_Getcat@?$ctype@G@std@@SAIPAPBVfacet@local e@2@@Z) referenced in function "class std::ctype<unsigned short> const & __cdecl std::use_facet<class std::ctype<unsigned short> >(class std::locale const &)" (??$use_facet@V?$ctype@G@std@@@std@@YAABV?$ctype@G @0@ABVlocale@0@@Z)
Error4fatal error LNK1120: 3 unresolved externalsD:\Sudheer data\ssss\Debug\ssss.exe
So how can I get out of these errors. If not please suggest me which version of QT I have to download to work under windows Vista and which addin I have to download to integrate QT with MS visual studio2008.
Please suggest me to solve this problem.
with regards,
sudheer.