风泥

导航

2017年2月28日 #

设置开机启动

摘要: Qt实现:bool Util::boot_program(const QString &filePath, bool bEnable){ QFileInfo fileInfo(filePath); if(!fileInfo.exists()) { ... 阅读全文

posted @ 2017-02-28 21:18 风泥 阅读(137) 评论(0) 推荐(0)

设置Qt依赖库路径

摘要: 在Qt5.0版本以后,由于框架的改动,打包的程序安装到其它电脑会提示找不到Qt库的路径, 这时候需要注册这些库,如下:void Util::registerPluginsDir(QDir &exeDir){ QString pluginsRelPath = "q... 阅读全文

posted @ 2017-02-28 14:42 风泥 阅读(1047) 评论(0) 推荐(0)