0

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.

enter image description here

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 are Qt5Core.dll and Qt5Cored.dll among these

  • I 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).

Raffaele Rossi
  • 2,737
  • 2
  • 20
  • 49

1 Answers1

1

From the comments: Due to size of the dlls gave by windeployqt i guess that you are in Debug mode, switch to Release mode and yours problems will gone!

For a static linking, you can either search for some instructions to make your own static build of Qt or search for a precompiled binaries if you trust the origin! :)

Antonio Dias
  • 2,523
  • 17
  • 35