Program is not running outside of Qt IDE
So first I was prompted, asking for a bunch of .dll files every time I ran the debug or release, and I ended up placing all the required DLLs in the program's directory.
Now I get this:
Could someone help?
Hi and welcome to devnet,
Starting a Qt application outside Qt Creator has the same requirement as deploying it. See the "deployment guide":http://qt-project.org/doc/qt-5.0/qtdoc/deployment-windows.html
And this "thread":https://qt-project.org/forums/viewthread/38079
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 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/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:
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.