Fixing Qt Warning: Unescaped backslashes are deprecated!

qt出现警告 Unescaped backslashes are deprecated!解决办法 qt出现警告 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 ..\

相关文章:

  • 2022-12-23
  • 2021-08-15
  • 2022-12-23
  • 2022-12-23
  • 2022-01-15
  • 2021-11-18
  • 2022-03-08
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-12
  • 2021-10-08
  • 2022-01-18
  • 2022-01-23
相关资源
相似解决方案