qt getting error procedure entry point could not be located in dynamic link library qt5core.dll
i developed one application in qt creator. i want to make it stand alone application. i added all dll s required in same folder. and it is working fine.
later i changed the same code and it is working in qt creator. i copied the exe file in the previous folder. but im getting below error.
i copied qt5core.dll from 5.6/mingw49_32/bin and i also tried with qt5core.dll from 5.6.2/tools/Qtcreator/bin path but still getting same error.
your compiled Qt version most probably differs (is <) than the one you use to run the application.
no i used same version ..that first application is working fine but not the second one...in second one i just added few widgets
no i used same version
but the error message tells different. Check again.
Also make sure you are not mixing compilers, etc. Don't only check the Qt version.
Just to add to @raven-worx; that entrypoint _Z5qHashRK7QStringj is present in all Qt5.x versions of MinGW's Qt5Core.dll, so make double sure it's not the Qt5Core.dll from 5.6.2/tools/Qtcreator/bin that was copied into your directory.
thank you for reply.
now i used windeployqt tool to copy dll files to release folder..but im getting error saying that the application was unable to start correctly(0xc0000007b)
can you please tell how to solve that?
im using qt 5.6.2 mingw
Hi, error 0xC000007b means that a .dll file that your app tries to load is 64-bit instead of 32-bit.
I'm guessing the bad apple is one (or more) of the .dlls that a Qt MinGW app needs; libstdc++-6.dll, libgcc_s_dw2-1.dll or libwinpthread-1.dll. Because when windeployqt tries to copy them into your release folder, it scans your PATH settings and goes fishing into the first directory where a g++.exe is found. Perhaps you have another MinGW installaed on your PC?
Anyway, you can try copy those 3 .dlls I mention above manually, from your 5.6/mingw49_32/bin into the release folder.
Below link would help you, which is already discussed