QT 获取可执行程序的路径

获取到生成.exe目录
QCoreApplication::applicationDirPath(); 
获取当前工程目录
QDir::currentPath()

 

posted on 2019-01-24 09:51  liujx2019  阅读(7185)  评论(0编辑  收藏  举报

导航