I have seen a lot of topics, questions and solutions online but still I cannot fix this issue. I have an exe which is 1.7 KB size but when I move it to another computer and I try to open it there is the typical error. I use QtCreator 4.4.0.
When I try to add Qt5Core.dll
, Qt5Gui.dll
and QtWidgets.dll
then I get the error
Unable to find the entry point
What to do now?
I have executed
windeployqt
but I have a 600 MB of dlls!! There areQt5Core.dll
andQt5Cored.dll
among theseI have tested the solution I have found online which says "use static linking". Well I have added "
CONFIG += static
" then in the IDE I give a Project > Build and Project > Run qmake.
Still the errors. I have been struggling with this since yesterday. So what do I have to do? I need to have a single executable or if it's not possible at least an exe with some dlls (but not 600 MB of dlls).