增加拷贝到临时目录的QT依赖文件

This commit is contained in:
luoliangyi 2022-07-20 20:05:21 +08:00
parent 9c27ddbd74
commit 35c9c15a24
1 changed files with 4 additions and 1 deletions

View File

@ -82,8 +82,11 @@ void Dialog_updateProgress::ThreadFunc(HGThread thread, HGPointer param)
file.copy("Qt5Gui.dll", tmpPath + "/Qt5Gui.dll"); file.copy("Qt5Gui.dll", tmpPath + "/Qt5Gui.dll");
file.copy("Qt5Widgets.dll", tmpPath + "/Qt5Widgets.dll"); file.copy("Qt5Widgets.dll", tmpPath + "/Qt5Widgets.dll");
file.copy("vcruntime140.dll", tmpPath + "/vcruntime140.dll"); file.copy("vcruntime140.dll", tmpPath + "/vcruntime140.dll");
QDir::mkdir(tmpPath + "/platforms"); QDir dir;
dir.mkdir(tmpPath + "/platforms");
file.copy("platforms/qwindows.dll", tmpPath + "/platforms/qwindows.dll"); file.copy("platforms/qwindows.dll", tmpPath + "/platforms/qwindows.dll");
dir.mkdir(tmpPath + "/imageformats");
file.copy("imageformats/qgif.dll", tmpPath + "/imageformats/qgif.dll");
#else #else
#if defined(OEM_HANWANG) #if defined(OEM_HANWANG)
file.copy("HwUpgradeApp", tmpPath + "/HwUpgradeApp"); file.copy("HwUpgradeApp", tmpPath + "/HwUpgradeApp");