Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

I create a qt application in visual studio. After building the project , the exe file not running and I have error message for missing a lot of dll files such as Qt5Core.dll and the others. How can I fix it?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
222 views
Welcome To Ask or Share your Answers For Others

1 Answer

let suppose your exe file name in MyApp.exe.

  • copy MyApp.exe in a new folder. for example myfolder.

  • open myfolder press shift and right click at myfolder's window

  • in opened right click menu select Open command window here

  • execute C:QtQt5.9.35.9.3msvc2015_64inwindeployqt.exe MyApp.exe

note that C:QtQt5.9.35.9.3msvc2015_64 path is depend on your installed qt version and it's directory.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...