[Qt-interest] Compilation Error

Nikos Chantziaras realnc at arcor.de
Sun Mar 28 00:20:09 CET 2010


On 03/27/2010 03:33 PM, Leonardo Boquillon wrote:
> Hi everibody.
>
> I'm new in the list. I'm venezuelan.
>
> ok, i install the Qt sdk (compilation 01/02/2010) on windows vista (32
> bits), included qtcreator and mingw. I have a big problem, i make a
> console project, i build and run the project and all ok, but i make a qt
> gui project, and try build the project identically as the project was
> created but i get these errors:
>
> c:\Qt\2010.02.1\qt\lib/libqtmaind.a:-1: error: En la función `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:
> referencia a `_Unwind_Resume' sin definir
> C:\qt-greenhouse\Trolltech\Code_less_create_more\Trolltech\Code_less_create_more\Troll\4.6\qt\src\winmain/qtmain_win.cpp:135:
> referencia a `_Unwind_Resume' sin definir
> c:\Qt\2010.02.1\qt\lib/libqtmaind.a(qtmain_win.o):qtmain_win.cpp::-1:
> error: referencia a `__gxx_personality_v0' sin definir
> :-1: error: collect2: ld returned 1 exit status

The screenshot says nothing.  We need to see the declaration of MainWindow.

Shot in the dark:  Did you forget to specify Q_OBJECT in MainWindow?



More information about the Qt-interest-old mailing list