摘要: 故事背景:客户端启动的时候需要加载机器/home/xx/test.jpg的图片作为背景图,但是有的机器用户名叫AAA,有的机器名叫BBB,所以我需要获取当前用户的home目录 技术调研:QStandardPaths QString strImagePath = QStandardPaths::wri 阅读全文
posted @ 2019-12-05 15:01 徐沛东 阅读(1855) 评论(0) 推荐(0) 编辑