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
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
相关文章推荐
- qt出现警告 Unescaped backslashes are deprecated!解决办法
- qt出现警告 Unescaped backslashes are deprecated!解决办法
- unescaped backslashes are deprecated
- Qt出现警告 Unescaped backslashes are deprecated!解决办法
- Why are Thread.stop, Thread.suspend and Thread.resume Deprecated?(源码学习)
- Caffe编译的时候出现warning: The 'compute_20' and 'sm_20' architectures are deprecated怎么办
- 解决nvcc warning : The 'compute_20', 'sm_20', and 'sm_21' architectures are deprecated问题
- nvcc warning : The ‘compute_20’, ‘sm_20’, and ‘sm_21’ architectures are deprecated, and may be remov
- 32-bit Linux Android emulator binaries are DEPRECATED
- ERROR: 32-bit Linux Android emulator binaries are DEPRECATED
- push segues are deprecated since ios 8.0
- cuda8.0使用nvcc编译程序出现warning:The 'compute_20', 'sm_20', and 'sm_21' architectures are deprecated的解决办法
- Positional parameter are considered deprecated; use named parameters or JPA-style positional paramet
- Positional parameter are considered deprecated; use named parameters or JPA-style positional parame
- Positional parameter are considered deprecated; use named parameters or JPA-style positional parameters instead.
- Why Are Thread.stop, Thread.suspend, Thread.resume and Runtime.runFinalizersOnExit Deprecated ?
- Positional parameter are considered deprecated; use named parameters or JPA-style positional parame
- Why Are Thread.stop, Thread.suspend, Thread.resume and Runtime.runFinalizersOnExit Deprecated ?
- Android 中调用线程thread.stop 方法后报错,Deprecated Thread methods are not supported.