0

我将项目从 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 奇怪的是,谷歌在这个问题上没有任何有用的结果。

4

1 回答 1

0

你的新建筑知道TCHAR*吗?这是 Windows 特定的“功能”

于 2013-04-25T17:53:34.007 回答