您的位置:首页 > 编程语言 > Qt开发

Qt Warning: Unescaped backslashes are deprecated!

2014-02-24 14:17 169 查看
You might have hit this warning while you are trying to include source files located under sub directories to a Qt project. 

Fix to solve this warning is very simple! 

This warning occurs whenever you try to use backslash (\) as path separator. To avoid this warning just use forward slash (/) as your path separator, instead of backslash (\). Qt uses Unix style path separator (/) irrespective of the platform. 

Example: If you want to include parent directory use ../ instead of ..\ 

From: http://www.openguru.com/2011/10/fixing-qt-warning-unescaped-backslashes.html 
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐