Home > Back-end >  Vs how automatic packing procedure and it depends on the DLL?
Vs how automatic packing procedure and it depends on the DLL?

Time:09-19

First post consult ah, he is not reached to the party, to really research has not developed for a long time, just ask any bosses know

Oneself recently wrote a program called the three library qt itk VTK now into the installation files to a package for a program, that can run on any Windows platform of computer, but encountered a very be agitated, is unable to automatic packing procedures rely on DLL,
Vs 2017 I download the vs expanding installer projects package, the use of such as error failed to load (about this error search solutions tried to delete the cache folder or two methods are not working with devenev/setup), although ignored the popup window can be packaged to generate the installer, but it can only contain executable exe, refresh the dependencies can not display the required DLLS, but the odd thing was, sometimes reopen vs can correctly display the dependent DLL, three library DLL are displayed, but a refresh or click on generation of disappeared again...

I have installed the latest version of vs 2019, using cmake written environmental engineering documents compiled into 2019, the program can run, repeat the above packaging operation, the same problem, can not pack the DLL file, but the 2019 version using the installer projects package plug-ins is not an error, but the problem still exists

I know you can manually put the DLL in one by one, but think this method is not fast enough, the windgetqt qt bring the program to use, but can only import qt own DLL, the variety of library together with like me you also can appear trouble

So can't find the solution.. We consult

CodePudding user response:

Try using innosetup

CodePudding user response:

reference 1/f, play big shoot early nuclear response:
try using innosetup


Innosetup exe file can't analysis the required DLLS ah..

CodePudding user response:

Qt is a tool windeployqt can copy can redistribute the DLLS
  • Related