Entry point not found
-
So im im trying to execute a release build of my application and im getting this error
I've seen this before but it always pointed to some .dll file and this one is pointing to the .exe and i have no idea of what to do now. I already tried copying all .dll, plugins, qml files to verify if something would change but the error is the same. Any ideas? -
Hi and welcome to devnet,
Did you mix debug and release .dlls ?
Maybe mixed MinGW and MSVC .dlls ? -
Hi @SGaist, thanks for the reply, i didnt, ive cleaned the build folder and created another + copied the .dll files from the mingw bin folder a lot of times to check if i wasnt getting the wrong ones, im getting these from : D:\Qt\6.1.0\mingw81_64\bin
-
What if you use windeployqt ?
-
So i tried it with windeployqt and i created a new folder and added only my .exe file, but i got the same error as shown in the image i posted before. It works fine inside QtCreator, i just tried to execute the .exe in debug built and got this error too...does this sizehint@qwidget@@ueba?avqsize@@xz refers to something in specific? could it be something in my code?
-
@SGaist i got it to work finally, so i dont understand what happened but i did my program with MinGW for debug and release and i got the error mentioned so i created a MSVC release build and did a windeployqt in QT MSVC terminal as a last resource and it worked.
But the point is i still dont know what i did wrong with MinGW, and what that error mean, do you have any idea of what i couldve done wrong there? I'm pretty sure it has nothing to do with .dll files... -
So i tried it with windeployqt and i created a new folder and added only my .exe file, but i got the same error as shown in the image i posted before. It works fine inside QtCreator, i just tried to execute the .exe in debug built and got this error too...does this sizehint@qwidget@@ueba?avqsize@@xz refers to something in specific? could it be something in my code?
@Marcusdrl said in Entry point not found:
does this sizehint@qwidget@@ueba?avqsize@@xz refers to something in specific?
That is C++ name mangling. See https://en.wikipedia.org/wiki/Name_mangling#How_different_compilers_mangle_the_same_functions
Your mangled name is
sizehint@qwidget@@ueba?avqsize@@xz
, which tells us that you built your executable using MSVC. That is why it cannot load the MinGW DLLs. -
@Marcusdrl said in Entry point not found:
does this sizehint@qwidget@@ueba?avqsize@@xz refers to something in specific?
That is C++ name mangling. See https://en.wikipedia.org/wiki/Name_mangling#How_different_compilers_mangle_the_same_functions
Your mangled name is
sizehint@qwidget@@ueba?avqsize@@xz
, which tells us that you built your executable using MSVC. That is why it cannot load the MinGW DLLs.