After doing a:

qmake -project "CONFIG += debug", "win32: CONFIG += console"
qmake n2.pro

(which I've done many times in the past, I'm getting:

make -f Makefile.Debug
make[1]: Entering directory `C:/Data/Qt/mverse/n2'
g++ -mthreads -Wl,-enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-pseudo-reloc -Wl,-subsystem,console -o "debug\n2.exe" debug\q
extserialbase.o debug\qextserialport.o debug\win_qextserialport.o -L"c:\Data\Qt\4.2.3\lib" -lQtGuid4 -lQtCored4
C:/Data/Qt/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../libmingw32.a(main.o)(.text+0x106):main.c: undefined reference to `WinMain@16'
collect2: ld returned 1 exit status
make[1]: *** [debug\n2.exe] Error 1

I'm not sure how to go about debugging this.

Thanks, Doug