PDA

View Full Version : my .exe not running on another computer



cindyqt
5th August 2016, 23:47
Hi,

I build my project on my laptop which is windows 10, then I copy my .exe to another computer(windows8.1) which no Qt installed. It can not run:

"The program can't start because Qt5Core.dll is missing from your computer.Try reinstalling the program to fix this problem."

Do I need to install Qt on every computer if I want to run application? It doesn't make sense to me.

jefftee
5th August 2016, 23:57
Short answer, yes. Long answer: http://doc.qt.io/qt-5/windows-deployment.html.

Edit: To clarify, you don't have to install Qt on the computers where you want to run your program, but you must make sure that the Qt dynamic libraries are distributed with your app, etc.

d_stranz
6th August 2016, 16:19
but you must make sure that the Qt dynamic libraries are distributed with your app

And you must make sure you put them in the right places, especially qwindows.dll