Unsolved Qt5Core.dll
-
I have compiled my program in release mode with Desktop Qt 5.5.0 MinGW 32bit.
I have added the .dll files from Qt/5.5/mingw492_32/bin which were specified by Dependency Walker to the directory where my program is located.But I still get an error when trying to open it:
The procedure entry point _cxa throw_bad_array_new_length could not be located in the dynamic link library
C:\myProgram\Qt5Core.dll.It runs fine when I run it from Qt Creator 3.5.0
How can I fix it?
Thanks. -
Hi, You must find the Qt5Core.dll (it has to be somewhere in the Qt folder) and add it to the directory in which you have your exe program
-
@mandruk1331 I did add it. I am now getting this error that I mentioned.
-
So why am I getting this error?
-
Hi,
Because you might have took the QtCore DLL from Qt Creator rather than the one compiled for MinGW.
Also, please, practice some patience. Allow 24 hour before bumping your own thread. This forum is community driven and not all people lives in the same time zone as you.
-
@SGaist Sorry about bumping, I just feared that it might be something like in Microsoft answers.
I took my Qt5Core.dll from Qt/5.5/mingw492_32/bin
I assume you meant the one in Qt/Tools/QtCreator/bin but that's not the one I'm using. -
Did you also copy the MinGW dependencies like the libstdc++ DLL ?
-
@SGaist Oh, I did not. I got confused that the error was referring to Qt5Core.dll so I didn't even look that up. Thanks :)
-
@Krag
Hi
I like
http://www.tripleboot.org/?p=138
for deployment overview.
(just in case of issues :) -
Сan someone throw me Qt5Core.dll v5.11.1?
-
@MikhailQt
Hi and welcome to the forums
I cant recommend downloading dlls from forums :)
Also, there is mingw version and visual studio version.
You can get it from
https://www1.qt.io/offline-installers/