码迷,mamicode.com
首页 > 其他好文 > 详细

Qt出现警告 Unescaped backslashes are deprecated!解决办法

时间:2015-06-05 11:37:32      阅读:323      评论:0      收藏:0      [点我收藏+]

标签:

Fixing Qt Warning: Unescaped backslashes are deprecated!

From: http://www.openguru.com/2011/10/fixing-qt-warning-unescaped-backslashes.html


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 ..\

Qt出现警告 Unescaped backslashes are deprecated!解决办法

标签:

原文地址:http://www.cnblogs.com/wangshunli/p/4554074.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!