[Qt-interest] Compile-time error in new GUI QtCreator project

Albert Graells Rovira txandi at gmail.com
Tue Feb 9 07:51:35 CET 2010


This error is related to the compiler version you are using.

Dev-Cpp uses a very old version of MinGW and it is no longer
compatible with Qt. You can use the MinGW version shipped with Qt SDK.




2010/2/9 Egor Popov <faraslacks at gmail.com>:
> I already wrote about this above. But I thought that errors occur because I
> restructure folder structure. Then I compile standart Qt GUI project I have
> following errors:
> d:\QtDev\qt\lib/libqtmaind.a(qtmain_win.o)(.text+0x64):../../include/QtCore/../../src/corelib/tools/qvector.h:410:
> undefined reference to `_Unwind_Resume'
>
> d:\QtDev\qt\lib/libqtmaind.a(qtmain_win.o)(.text+0x12a):C:\qt-greenhouse\Trolltech\Code_less_create_more\Trolltech\Code_less_create_more\Troll\4.6\qt\src\winmain/qtmain_win.cpp:135:
> undefined reference to `_Unwind_Resume'
>
> d:\QtDev\qt\lib/libqtmaind.a(qtmain_win.o)(.text$_ZN7QVectorIPcE7reallocEii[QVector<char*>::realloc(int,
> int)]+0x1a1):../../include/QtCore/../../src/corelib/tools/qvector.h:482:
> undefined reference to `_Unwind_Resume'
>
> d:\QtDev\qt\lib/libqtmaind.a(qtmain_win.o)(.text$_ZN7QVectorIPcE7reallocEii[QVector<char*>::realloc(int,
> int)]+0x1dc):../../include/QtCore/../../src/corelib/tools/qvector.h:483:
> undefined reference to `_Unwind_Resume'
>
> d:\QtDev\qt\lib/libqtmaind.a(qtmain_win.o)(.eh_frame+0x12): In function
> `Z4qMinIiERKT_S2_S2_':
>
> ../../include/QtCore/../../src/corelib/thread/qbasicatomic.h:95: undefined
> reference to `__gxx_personality_v0'
>
> collect2: ld returned 1 exit status
>
> mingw32-make.exe[1]: *** [debug\Experiment_2.exe] Error 1
>
> D:\Dev-Cpp\bin\mingw32-make.exe: *** [debug] Error 2
>
> I use QtSDk build from Jan 17 2010. Qt 4.6.1. QtCreator 1.3.1.
>
>
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
>



More information about the Qt-interest-old mailing list