Hello everybody.
The complete error is: "The procedure entry point _Z13qFlagLockationPKc could not be located in the dynamic link library QtCore.dll".
What I'm trying to do is use CodeBlocks with Qt. (if you 're wondering why I'm not using Qt Creator, it's because I have a 'weak' pc and Qt Creator is quite 'heavy').
I make a new project, I choose 'Qt4 Project', it gets created, in some point I was asked for Qt location and I put it (C:\Qt\4.8.5)
and saved it.
But when I tried to build and run it, the above mentioned error appeared!
How can I fix it?
According to
this:
Probably you get this error because you use dlls from QtCreator directory which was not compiled with mingw (often QtCreator compiled with Microsoft visual studio on Windows)
You should use dlls from C:\Qt\Qt5.0.1\5.0.1\mingw47_32\bin (for example) .
App which was compiled with mingw needs dll which compiled with mingw too.
But I haven't found any mingw folder in C:\Qt\4.8.5. (this is the Qt framework)
But I do have MingW installed in C:\MingW
How can I make CodeBlocks use dlls from C:\MingW? (I guess that's what I'm supposed to do, right?)