Brian
Brian

Reputation: 163

Make exe file in QT-C++ missing qt5cored dll

When I copy project folder - was build and generate to bin folder - from my computer to anothers. It show "The program can't start because QT5core.dll is missing".

Will I install QT to another computer for get all of QT dll - It arround 2gb. I think it's not good solution. Because when I want to transfer it to customer. He will not like to install this software for just seeing program.

I tried to use NSIS but I don't know how to get dll from my machine. And what dll will I need for move to build folder.

Thanks for any solution from you.

Upvotes: 2

Views: 9069

Answers (2)

Blueberry
Blueberry

Reputation: 15

You don't need to install anything on the other computer. Just try going to the location where your Qt application is installed and then navigate to "..\Qt\mingw53_32\bin" directory. The search for the missing .dll files, copy them to the location where your .exe file is situated and then re-run the application.

Upvotes: 0

Reza Ebrahimi
Reza Ebrahimi

Reputation: 3689

May be your required dependencies not installed on target machine, do as following answer, it gets solved:

Qt 5.0 program runs in QtCreator but not outside

Upvotes: 1

Related Questions