The newly built Cppcheck-gui just crashes

I have some problems with the wrong Qt, the wrong MinGW, the wrong QtCore4.dll path when building the Cppcheck GUI, but finally it turned into an executable that just crashes on startup.

The disassembly for the problem area is as follows:

 mov         eax,12Fh  
 xor         ecx,ecx  
 lea         edx,[esp+4]  
 call        dword ptr fs:[0C0h]  
 add         esp,4  
 ret         0Ch  

It seems that he is falling, trying to trigger something statically connected. Another thing that seems strange to me: the executable is about 30 MB versus 500 KB in the release that I installed from the downloaded .msi. It just has to be wrong.

I use the latest sources from Github, Qt 4.8.5 (mingw version), although I myself took MinGW from Qt 5.1.1. and all this happens on Windows, if that matters. I just run "build.bat all debug" - and that is it. So what am I doing wrong this time?

+4
source share
1 answer

The official Qt 4.8.5 was built using GCC 4.4. The page loads the page in the form of "Qt libraries 4.8.5 for Windows ( minGW 4.4 , 317 MB)." However, MinGW with Qt 5.1.1 contains GCC 4.8, which is not compatible with libraries built using GCC 4.4. GCC version mismatch symptoms are weird malfunctions, like what you see.

( ):

+1

All Articles