Paip. c ++ qt _ gxx_personality_sj0 _ gxx_personality_v0 Problem Solving author Attilax, EMAIL: 1466519819@qq.com Source: attilax column address: http://blog.csdn.net/attilax online said solution with gcc-o t. cpp-lstdc ++ why is this error: it is because you use gcc to compile. cpp file. by default. cpp files are in c ++ format. Another method is to use g ++-o t. cpp is also possible. This method is correct in separate c ++ .. but qt c ++ does not work... the environment is as follows: ---------------- qt creator2.8.1 Qt 5.1.1 for Windows 32-bit (MinGW 4.8, OpenGL, 666 MB) (Info) the operating system is xp .. version Final Solution :----- ------------- Project> buld> qmake param> Add the following three parameters. QMAKE_CXX = g ++-dw2QMAKE_CC = gcc-dw2QMAKE_LINK = g ++-dw2 actual causes are as follows: ------------- C ++ error model errors, exception models are divided into two types: sjlj and dw2... I don't know why, in xp, mingw uses sjlj by default during compilation, it will be wrong... use the dw2 mode forcibly to go to OK LAN .. when we compile the 32-bit gcc of mingw64, we usually use dw2 exceptions. This method is easy to debug and has good performance. The size of the target program generated by sjlj is small, so it is mostly used in embedded systems. Of course, it can also be used in x86 systems. See the compilation of c files appear undefined reference to '_ gxx_personality_v0'-red union Linux portal-China's leading Linux technology site-website navigation-Linux general technology-linuxlinuxprogramming and internal nuclear .htm tdm64-gcc mingw-w64 problems-CSDN Forum- CSDN.NET.htm