make a fresh rebuild and post the build log here
I am running Code::Blocks version Code: 16.01 on Windows XP (version 5.1).
The compiler I use is mingw32 version mingw482-4.8.6-1.
When I make a new Qt project and run it, the above mentioned error message appears.
Steps to reproduce problem:
1. in CodeBlocks: File->New Project->Qt4 Project ->Next.
2. Give Project Title->Next.
3. Qt's Location (I give 'C:\Qt\4.8.6')->Next
4. Compiler: GNU/Gcc compiler ->Finish
5. Build->Build and run
6. Appears a message box with the error: "The procedure entry point _Z13qFlagLocationPKc could not be located" etc.
Description of problem: happens anyway I run it: from within CodeBlocks, from the command line and double clicking it.
Build log:
[code]
-------------- Build: Debug in Repairdevices (compiler: GNU GCC Compiler)---------------
i686-w64-mingw32-g++.exe -Wall -g -IC:\Qt\4.8.6\include -IC:\Qt\4.8.6\include\QtGui -c "F:\Documents and Settings\Administrator\My Documents\CodeBlocksProjects\Repairdevices\main.cpp" -o obj\Debug\main.o
i686-w64-mingw32-g++.exe -LC:\Qt\4.8.6\lib -o bin\Debug\Repairdevices.exe obj\Debug\main.o -lQtCore4 -lQtGui4
Output file is bin\Debug\Repairdevices.exe with size 154.57 KB
Process terminated with status 0 (0 minute(s), 2 second(s))
0 error(s), 0 warning(s) (0 minute(s), 2 second(s))
Build log saved as:
file://F:/Documents%20and%20Settings/Administrator/My%20Documents/CodeBlocksProjects/Repairdevices/Repairdevices_build_log.html
-------------- Run: Debug in Repairdevices (compiler: GNU GCC Compiler)---------------
Checking for existence: F:\Documents and Settings\Administrator\My Documents\CodeBlocksProjects\Repairdevices\bin\Debug\Repairdevices.exe
Executing: "F:\Program Files\CodeBlocks/cb_console_runner.exe" "F:\Documents and Settings\Administrator\My Documents\CodeBlocksProjects\Repairdevices\bin\Debug\Repairdevices.exe" (in F:\Documents and Settings\Administrator\My Documents\CodeBlocksProjects\Repairdevices\.)
Process terminated with status -1073741510 (0 minute(s), 5 second(s))
Crash report:
CodeBlocks disn't crash, so no RPT was found.
I have already tried reinstalling of Qt 4.8.6 but did not work.
Does the error appears also if you run your program from within codeblocks?
It appears in every case: when I run it from within CodeBlocks, when I run it from the command line, and when I run it by double clicking it.
Also, verify that the CB did NOT autodetect an different compiler and change the path to it..
I looked at Settings->Compiler->Toolchain Executables.
Everything seems as I had set it.