Total Articles 494
Qt Console Project를 VS2012에서 읽어 들이고 난 이후(QT5 - Open QT Project file) 컴파일하면 다음과 같은 에러가 발생함.
1>MSVCRTD.lib(crtexew.obj) : error LNK2019: unresolved external symbol WinMain referenced in function __tmainCRTStartup
1>D:\temp\qt\untitled\x64\Debug\\untitled.exe : fatal error LNK1120: 1 unresolved externals
[링크 에러 픽스 방법]
1. VS2012 - PROJECT - Properties - Linker - System에서 SubSystem 을 "Windows (/SUBSYSTEM:WINDOWS)"에서 "Console (/SUBSYSTEM:CONSOLE)"으로 변환
2. VS2012 - PROJECT - Properties - Linker - Command Line - Additional Options에서 "/SUBSYSTEM:WINDOWS"을 삭제.
3. 1번과 2번 작업을 Debug, Release 모두에 적용할 것.