Results 1 to 3 of 3

Thread: Qt has suddenly started giving me a load of errors

  1. #1
    Join Date
    Nov 2012
    Posts
    20
    Thanked 1 Time in 1 Post

    Default Qt has suddenly started giving me a load of errors

    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!?

  2. #2
    Join Date
    Nov 2012
    Posts
    20
    Thanked 1 Time in 1 Post

    Default Re: Qt has suddenly started giving me a load of errors

    Really? No-one can help?

  3. #3
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: Qt has suddenly started giving me a load of errors

    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/7...ersonality-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?

Similar Threads

  1. Project suddenly doesn't compile
    By vieraci in forum Qt Programming
    Replies: 16
    Last Post: 7th June 2016, 07:12
  2. suddenly datareadProgress total = 0
    By SpeedxDevil in forum Newbie
    Replies: 1
    Last Post: 12th July 2012, 09:21
  3. Replies: 5
    Last Post: 30th September 2010, 12:23
  4. Suddenly getting 'undefined ref to 'WinMain@16'
    By Doug Broadwell in forum Qt Programming
    Replies: 8
    Last Post: 4th December 2008, 18:11
  5. Replies: 5
    Last Post: 19th September 2008, 15:24

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.