QApplication::addLibraryPath(QApplication::applicationDirPath());
QApplication::addLibraryPath(QApplication::applicationDirPath()+"/plugins/");
qt 添加程序插件目录,布布扣,bubuko.com
qt 添加程序插件目录
原文:http://www.cnblogs.com/lvdongjie/p/3706158.html