简体   繁体   中英

Deploying a c++ QT5 app

I am trying to deploy my application. It works on Windows 7 with quit a lot of .dll files but I can't get it work on Windows XP. It seems that windows Xp requires more dll files. But the Dependency walker tool keeps showing me new dll files missing. Now it says API-MS-WIN-CORE-PROCESSTHREADS-L1-1-0.DLL and API-MS-WIN-SECURITY-BASE-L1-1-0.DLL are missing.

When i try to start the exe nothing happens ... no error...

I use Qt5.0.2 with pre build msvc2010.

Thanks in advance

Perhaps this is related to missing VS 2010 redistributable? Also make sure to build in a release-configuration if you don't already know.

http://www.microsoft.com/en-us/download/details.aspx?id=5555

If you package this up into an installer like NSIS, I'd typically execute it with the argument /Q to prevent any GUIs from popping up... it won't ask for any admin privileges which is nice since the previous VC 2008 redistrib always required it.

As the previous answer a requirement is the VS redistributable. In your case, as you use VS2010 the file to download is MS 2010 redistributable.

Besides of that there is the executable windeployqt that helps with the deployment package copying the Qt DLLs required on your executable directory.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM