Hi,

I've got an interesting error in qt when running the examples from the welcome screen of qt 1.3.0.

I've tried several of the examples, including 2dpainting under the OpenGl category. Each example gives me 2 errors and about 200 warnings. The errors are:

1. undefined reference to 'WinMain@16" c:\nokia\qt\2009.05_new\mingw\bin\...\lib\gcc\ming w32\4.4.0\..\..\..\libmingw32.a(main.o):main.c:

2. collect2: ld returned 1 exit status

and the warnings are all "undefined reference to '_imp___Z.....'"

I'm running qt creator 1.3 and qt 4.6.0. Oddly enough the MyFirstApp program I've written myself compiles and runs fine. I'm compiling in qt using the default configuration (my OS is WinXP.)


So, how can I compile/run the examples in qt?
Thanks.