Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/visual-studio-2012/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/vb.net/15.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Qt链接错误_Qt_Visual Studio 2012_Linker_Static Linking - Fatal编程技术网

Qt链接错误

Qt链接错误,qt,visual-studio-2012,linker,static-linking,Qt,Visual Studio 2012,Linker,Static Linking,我正试图编译我的第一个Qt项目,但当我链接它时,我遇到了未解决的extrnal问题。这是完整的错误日志: 我使用的是用VS2012×86编译的Qt(用-MT参数编译)。我的程序也是用同一个编译器编译并静态链接的。我链接这些与Qt相关的库:Qt5Core.lib Qt5Gui.lib Qt5Widgets.lib qtmain.lib 我是否需要更多的库来包含这些库,或者我是否遗漏了一些其他依赖项?如何修复这些错误 Qt5Gui.lib(qdrawhelper_sse2.obj) : error

我正试图编译我的第一个Qt项目,但当我链接它时,我遇到了未解决的extrnal问题。这是完整的错误日志:

我使用的是用VS2012×86编译的Qt(用-MT参数编译)。我的程序也是用同一个编译器编译并静态链接的。我链接这些与Qt相关的库:Qt5Core.lib Qt5Gui.lib Qt5Widgets.lib qtmain.lib

我是否需要更多的库来包含这些库,或者我是否遗漏了一些其他依赖项?如何修复这些错误

Qt5Gui.lib(qdrawhelper_sse2.obj) : error LNK2001: unresolved external symbol "char const * __cdecl std::_Winerror_map(int)" (?_Winerror_map@std@@YAPBDH@Z)
Qt5Gui.lib(qdrawhelper_avx.obj) : error LNK2001: unresolved external symbol "char const * __cdecl std::_Winerror_map(int)" (?_Winerror_map@std@@YAPBDH@Z)
Qt5Gui.lib(qdrawhelper_ssse3.obj) : error LNK2001: unresolved external symbol "char const * __cdecl std::_Winerror_map(int)" (?_Winerror_map@std@@YAPBDH@Z)
Qt5Gui.lib(Qt5Gui_pch.obj) : error LNK2001: unresolved external symbol "char const * __cdecl std::_Winerror_map(int)" (?_Winerror_map@std@@YAPBDH@Z)
Qt5Gui.lib(qimage_avx.obj) : error LNK2001: unresolved external symbol "char const * __cdecl std::_Winerror_map(int)" (?_Winerror_map@std@@YAPBDH@Z)
Qt5Gui.lib(qimage_sse2.obj) : error LNK2001: unresolved external symbol "char const * __cdecl std::_Winerror_map(int)" (?_Winerror_map@std@@YAPBDH@Z)
Qt5Gui.lib(qimage_ssse3.obj) : error LNK2001: unresolved external symbol "char const * __cdecl std::_Winerror_map(int)" (?_Winerror_map@std@@YAPBDH@Z)
main.obj : error LNK2001: unresolved external symbol "char const * __cdecl std::_Winerror_map(int)" (?_Winerror_map@std@@YAPBDH@Z)
.....