将Qt 安装 bin 目录加入环境变量。在控制台中 输入 windeployqt.exe D:\work\project\sample\bin\Release\sample.exe", 所需要的QT运行库就自动拷贝到目标程序目录了。