【发布时间】:2013-04-19 17:45:38
【问题描述】:
我将项目从 Visual Studio 转移到 QT,并且在项目构建时 - 显示错误。如何在不对代码进行重大更改的情况下修复它们?
cannot convert 'const wchar_t*' to 'TCHAR*'
cannot convert '_TCHAR*' to 'const wchar_t*'
cannot convert 'const wchar_t [15]' to 'TCHAR*'
cannot convert 'TCHAR*' to 'const wchar_t*'
...
几十个这样的错误。
PS 奇怪的是,谷歌在这个问题上没有任何有用的结果。
【问题讨论】: