0

I just wrote a Qt program, and build it under Release type, it work fine in QtCreator, but if I double click the exe in windows, it says it can't locate something in QtCore4.dll, so which QtCore4.dll should I actually add to it's folder? I'm using Qt4.7.3

Btw is it because I installed TortoiseHg? and it messed up with the envoiurnment vars. But I did copy QtCore4.dll from my QtSDK folder. And it still doesn't work.

2

1 Answer 1

1

You need the used Qt and mingw dlls in the same folder wher your program is. The you need to package these with the program.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.