[Qt-interest] Qt 4.6, Qt Creator 1.3 and previews of new APIs and Maemo 5 port released
Thiago Macieira
thiago at kde.org
Tue Dec 1 19:15:48 CET 2009
Em Terça-feira 01 Dezembro 2009, às 18:46:16, Mihail Naydenov escreveu:
> I fail to compile a simple, QtCreator generated, GUI project (Qt4 GUI
> Application)
>
> e:\Qt\2009.05\qt\lib/libqtmaind.a(qtmain_win.o): In function `WinMain at 16':
> C:\qt-greenhouse\Trolltech\Code_less_create_more\Trolltech\Code_less_create
> _more\Troll\4.6\qt\src\winmain/qtmain_win.cpp:93: undefined reference to
> `_Unwind_Resume'
> C:\qt-greenhouse\Trolltech\Code_less_create_more\Trolltech\Code_less_creat
> e_more\Troll\4.6\qt\src\winmain/qtmain_win.cpp:135: undefined reference to
> `_Unwind_Resume'
> e:\Qt\2009.05\qt\lib/libqtmaind.a(qtmain_win.o):C:\qt-greenhouse\Trolltech
> \Code_less_create_more\Trolltech\Code_less_create_more\Troll\4.6\qt\src\win
> main/../../include/QtCore/../../src/corelib/tools/qvector.h:481: undefined
> reference to `_Unwind_Resume'
> e:\Qt\2009.05\qt\lib/libqtmaind.a(qtmain_win.o):C:\qt-greenhouse\Trolltech
> \Code_less_create_more\Trolltech\Code_less_create_more\Troll\4.6\qt\src\win
> main/../../include/QtCore/../../src/corelib/tools/qvector.h:482: undefined
> reference to `_Unwind_Resume'
> e:\Qt\2009.05\qt\lib/libqtmaind.a(qtmain_win.o):qtmain_win.cpp:(.eh_frame+
> 0x12): undefined reference to `__gxx_personality_v0' collect2: ld returned
> 1 exit status
Qt 4.6's Windows MinGW binaries are built with MinGW 4.4, which is binary-
incompatible with the 3.4 previously used when it comes to exceptions.
The previous 3.4 solution used the older setjmp/longjmp method (SJLJ) that has
runtime performance penalties even if no exceptions are thrown. The newer
version uses the new eh_spec specified in the Itanium C++ ABI.
So you have to upgrade your mingw if you want to use our precompiled binaries.
If you cannot do that, you can always rebuild Qt 4.6 from the sources using
your installed compiler.
--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
Senior Product Manager - Nokia, Qt Development Frameworks
PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20091201/8e10ea9c/attachment.bin
More information about the Qt-interest-old
mailing list