[Qt-interest] Qt 4.5.1 with gcc 4.3.0 (mingw) - errors and warnings compiling examples\webkit\formextractor example

Piotr Dobrogost pd at 2009.gmane.dobrogost.pl
Thu May 21 23:36:24 CEST 2009


Hi

I'm trying to compile examples\webkit\formextractor example from Qt
4.5.1 with gcc 4.3.0 (mingw) on Windows.

I'm getting a lot of warnings like this

c:\Qt\2009.02\qt\include/QtGui/../../src/gui/painting/qcolor.h:241:
warning: 'QDataStream& operator<<(QDataStream&, const QColor&)'
redeclared without dllimport attribute: previous dllimport ignored

and I get these errors

c:\Qt\2009.02\qt\lib/libqtmaind.a:-1: error: In function `WinMain':
C:/qt-greenhouse/Trolltech/Code_less_create_more/Trolltech/Code_less_create_more/Troll/4.5.0/qt/src/winmain/qtmain_win.cpp:91:
undefined reference to `__gxx_personality_sj0'
C:/qt-greenhouse/Trolltech/Code_less_create_more/Trolltech/Code_less_create_more/Troll/4.5.0/qt/src/winmain/qtmain_win.cpp:91:
undefined reference to `_Unwind_SjLj_Register'
C:/qt-greenhouse/Trolltech/Code_less_create_more/Trolltech/Code_less_create_more/Troll/4.5.0/qt/src/winmain/qtmain_win.cpp:140:
undefined reference to `_Unwind_SjLj_Resume'
C:/qt-greenhouse/Trolltech/Code_less_create_more/Trolltech/Code_less_create_more/Troll/4.5.0/qt/src/winmain/qtmain_win.cpp:140:
undefined reference to `_Unwind_SjLj_Unregister'
:-1: error: collect2: ld returned 1 exit status

Any idea how to resolve this problem?


-- 
Piotr Dobrogost
*** curlpp.org - c++ wrapper for libcurl ***




More information about the Qt-interest-old mailing list