Program is not running outside of Qt IDE
-
[quote author="SandDune80" date="1392513315"]I'm on Windows, and the commands in that deployment guide doesn't work.
I personally really need some specific instructions on what to do.[/quote]Hi,The 2nd link that SGaist gave you links to a guide with specific, step-by-step instructions.
-
-
From the image you seem to have copied just every dll.
Please, only use the one your applications need as well as the platform and other plugins
-
[quote author="SGaist" date="1392547644"]From the image you seem to have copied just every dll.
Please, only use the one your applications need as well as the platform and other plugins[/quote]I believe SandDune80 was just following what was written in the wiki, which described eliminating unneeded files one by one, instead of adding needed files one by one.
[quote author="SandDune80" date="1392531016"]
http://puu.sh/6RHQP
...
http://puu.sh/6Y0Fj.png[/quote]The screenshots show that the WinMain entrypoint can't be found -- it looks like the compilation/linking process itself was broken. The problem isn't with missing DLLs.What compiler did you use? Do you have multiple compilers in your system?
-
Here are the compilers:
http://puu.sh/6YN94.png -
You have 2 versions of MinGW. They are not compatible with each other. You must make sure that your program loads the correct version of the MinGW DLLs.
Please remove MinGW from your PATH and then launch your program again.
-
I removed the bottom one but still having the same problem.
-
Which version did you use you build your test program?
[quote author="SandDune80" date="1392594608"]I removed the bottom one[/quote]Can you describe how you did that?
-
I removed MinGw at the bottom by just removing the bin folder from the codeblocks directory it was in.
then I just restarted the Qt IDE and it wasnt listed anymore.
so I assume the 4.8 thing was used. -
Nevermind everyone I fixed it,
Apparently I grabbed the .dlls from the wrong path. Ineeded to grab them from the path that corresponds to the compiler that I was using.