Maxx
Maxx

Reputation: 318

My Qt5 executable does not run outside of Visual Studio 2010

I have done a big project with Qt5 and visual Studio 2010. Everything is well inside of visual studio using the run button.

But my goal is of course to release it to other persons, without visual studio.

My problem is: I can't get the .exe run outside of visual studio. I was asked for several dll's at first, I found them all in the Qt5 bin folder.

But know I got rid of those messages, when I wan't to open my exe, nothing happens. Just nothing.....

I cannot even find my exe in the windows task manager.

Does someone here know an answer to that issue?

Upvotes: 3

Views: 1077

Answers (2)

Tatiana Romanenko
Tatiana Romanenko

Reputation: 1

Dependency Walker is not very useful in this case as it shows very strange dll files missing: API-MS-WIN-CORE-PRIVATEPROFILE-L1-1-1.DLL etc.

You can use Qt5.x cmd prompt ( 5.x is the version that you are using) and run windeployqt.exe from your build directory. It will automatically find and copy all necessary dll files to your output directory.

Upvotes: 0

dtech
dtech

Reputation: 49289

There are dll files that are loaded during runtime and don't give you any error, warning or whatsoever when not present (also totally transparent to dependency walker). Such is the platforms\qwindows.dll - note that it must be in a platforms\ subfolder relative to the executable. You might also be missing libEGL.dll and libGLESv2.dll.

Upvotes: 2

Related Questions