PDA

View Full Version : Qt has suddenly started giving me a load of errors



tom989
1st January 2013, 11:03
I compiled qt statically and everything worked fine.

But somehow, and I don't know how, I've changed something and now qt is giving me a load of errors. I use qt4 and mingw.

I get a huge number of compiler errors starting with:

qtmain_win.cpp:-1: error: undefined reference to `__gxx_personality_sj0'
qtmain_win.cpp:-1: error: undefined reference to `_Unwind_SjLj_Register'

What have I done!?

tom989
1st January 2013, 15:38
Really? No-one can help?

ChrisW67
2nd January 2013, 01:47
4 hours on New Year's day .... are you really that impatient?

I Googled "g++ __gxx_personality_sj0" and look what was the very first hit:
http://stackoverflow.com/questions/7751640/undefined-reference-to-gxx-personality-sj0

Have you recently upgraded g++ and not rebuilt your static Qt/project with it?
Are you mixing libraries/object built with different exception handling?