I want to use Qt 5.5 with Microsoft Visual Studio 2015. But, the last compatible version of the Microsoft compiler with Qt is MSVC2013. So, I want to tell Visual 2015 to use "legacy" mode to compile with an older version of Microsoft compiler.
How to do that?
When I use MSVC2015 I get this error :
Gravité Code Description Projet Fichier Ligne
Erreur LNK2019 symbole externe non résolu "__declspec(dllimport) char const
* __cdecl std::_Winerror_map(int)" (__imp_?_Winerror_map@std@@YAPBDH@Z)
référencé dans la fonction "public: virtual class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __thiscall std::_System_error_category::message(int)const " (?message@_System_error_category@std@@UBE?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@2@H@Z) helloworld C:\Users\roman\Documents\QtTest\bin\qtmaind.lib(qtmain_win.obj) 1
I think it's because Qt Lib are compiled for MSVC2013