VS、Qt编译遇到的错误

---1、404   NOT FOUND   downloading 'http://mitk.org/download/thirdparty/DCMQI.tar.gz' failed

              camke中的ep路径没有配置好

---2、C4996 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.

           ---strcpy 改为 strcpy_s

           ---【项目】->【项目属性】,点击【C/C++】里的【预处理器】,对【预处理器定义】进行编辑,加入一段代码:_CRT_SECURE_NO_WARNINGS

 

---3、Qt错误:Error:Could not decode "xxx.cpp" with"utf-8"-encoding.Editing not possible

【编辑】-----【Select Encoding】----【GB2312】----【Reload with Encoding】

 

posted @ 2024-03-26 17:42  o·0  阅读(36)  评论(0)    收藏  举报