Reputation: 48986
When trying to run a simple Qt program
, I get the following erros: (How can I solve them?)
In function `WinMain@16': c:/Qt/2010.05/qt/lib/libqtmaind.a(qtmain_win.o)
error: undefined reference to _Unwind_Resume:
C:\qt-greenhouse\Trolltech\Code_less_create_more\
Trolltech\Code_less_create_more\Troll\4.6\qt\src\winmain/qtmain_win.cpp:93
error: undefined reference to _Unwind_Resume':
C:\qt-greenhouse\Trolltech\Code_less_create_more\
Trolltech\Code_less_create_more\Troll\4.6\qt\src\winmain/qtmain_win.cpp:135
error: collect2: ld returned 1 exit status
Thanks.
Upvotes: 1
Views: 427
Reputation: 48986
I think the issue was with the MinGW
version. I downloaded that latest version of Qt SDK
that contained MinGW 4.4
and it worked.
Upvotes: 0
Reputation: 4274
I think that you may be either (1) using the incorrect Qt version, or (2) using the incorrect MinGW version.
Did you install just Qt Creator, or the entire Qt SDK? If you installed only Creator, note that the Qt which comes with it is intended only for Creator itself to use - not for you to build applications with.
If you installed the entire SDK, it should have installed one Qt for you to use, and another Qt for Creator's internal use. Make sure you're using the correct one.
Upvotes: 1