problem in window deployment (entry point error)
-
Re: QT Creator Deployment For Windows
Hello everyone , I am using qt 5.15.2 and want to create an executable.of my qt project and i have tried the windeploy tool and also tried manually coping all the required dll in the target folder where my release binary exist but it doesn't work It shows entry point error unable to execute.
what should i do??? -
Re: QT Creator Deployment For Windows
Hello everyone , I am using qt 5.15.2 and want to create an executable.of my qt project and i have tried the windeploy tool and also tried manually coping all the required dll in the target folder where my release binary exist but it doesn't work It shows entry point error unable to execute.
what should i do???@Imrank said in problem in window deployment (entry point error):
It shows entry point error unable to execute
Please post the exact error.
Either some libs are missing or you copied wrong libs. -
I had copied all the libraries from the Qt bin folder and also created the binary in release in mode. But still facing the same problem.
@Imrank said in problem in window deployment (entry point error):
I had copied all the libraries from the Qt bin folder and also created the binary in release in mode. But still facing the same problem.
You have more than one Qt installation somewhere - I guess you copy the ones from QtCreator instead those form the Qt installation folder. Make sure windeployqt fetches the correct Qt libs and you're really linking/compiling aginst those libs.
-
so uninstalling the whole framework and reinstalling it from zero can fix this problem??
or should i do something else?@Imrank said in problem in window deployment (entry point error):
it from zero can fix this problem??
Never said this - I just said that you might have more than one Qt installation / Qt dlls there so you should make sure that the correct ones are pciked up by windeployqt (which currently is not the case as you can see)
-
yeah I have confirmed that and also copied the dlls from the bin folder manually but the same problem still exist
- first of, remove everything you copied manually, better yet, copy your exe to a new folder, delete the old one
- Search your drive, you will have something like
c:/Qt/15.2/msvc2019_64/bin, in there you will find thewindeployqt.exetool, use that! It is a command line tool so do not simply double click it and expect magic to happen! See here: https://doc.qt.io/qt-6/windows-deployment.html IGNORE everything static or building Qt related in that section - if you have trouble during use, or after you used the tool, come back and we can help more
