QDir::currentPath()

获取当前路径

QDir::toNativeSeparators

把windows下的路径转换为Qt可以识别的路径,如"C:/Users/Administrator/Desktop"------->"C:\Users\Administrator\Desktop"

 

相关文章:

  • 2022-12-23
  • 2021-09-03
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-24
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-04-27
  • 2021-08-21
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案