0

I am developing a program using Qt and it is opened normally whenever I open it from Qt's IDE, though when I try to open it directly from the exe file in the debug folder it simply requests a lot of dlls and even if I download all dlls requested.

I already have VC++ installed.

The error I am getting:

https://i.stack.imgur.com/UWJmc.png

  • Does this answer your question? [qtcreator - exe does work fine inside qtcreator but doesn't outside](https://stackoverflow.com/questions/14537651/qtcreator-exe-does-work-fine-inside-qtcreator-but-doesnt-outside) – JarMan May 03 '21 at 14:17
  • You have missing dependent dlls. – drescherjm May 03 '21 at 14:17
  • Don't download dlls ! They already are in your Qt install folder. – Fareanor May 03 '21 at 14:21

1 Answers1

0

There are several tools I just want to mention that can be helpful here. The first tool is Dependency Walker that can help identify the missing DLLs, the dll versions that are being used, and the path to the dlls. The other tool is provided by Qt called WindeployQt which copies all the Qt dependencies in your application to your executable path.

slayer
  • 643
  • 7
  • 14