Thanks for your suggestions.
I'm not sure what you mean by building from the Qt command prompt (which means the answer is probably no), but I did a clean all on both projects.
The compile output for PaintT is:
Running build steps for project PainT...
Configuration unchanged, skipping QMake step.
Starting: C:/Nokia/Qt/2009.05_new/mingw/bin/mingw32-make.exe -w
mingw32-make: Entering directory `C:/Programming/Nokia/Paint/PainT'
C:/Nokia/Qt/2009.05_new/mingw/bin/mingw32-make -f Makefile.Debug
mingw32-make[1]: Entering directory `C:/Programming/Nokia/Paint/PainT'
c:\Nokia\Qt\2009.05_new\qt\bin\uic.exe paint.ui -o ui_paint.h
g++ -c -g -frtti -fexceptions -mthreads -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN -I"..\..\..\..\Nokia\Qt\2009.05_new\qt\include\QtCo re" -I"..\..\..\..\Nokia\Qt\2009.05_new\qt\include\QtGu i" -I"..\..\..\..\Nokia\Qt\2009.05_new\qt\include" -I"..\..\..\..\Nokia\Qt\2009.05_new\qt\include\Acti veQt" -I"debug" -I"." -I"..\..\..\..\Nokia\Qt\2009.05_new\qt\mkspecs\win3 2-g++" -o debug\main.o main.cpp
g++ -c -g -frtti -fexceptions -mthreads -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN -I"..\..\..\..\Nokia\Qt\2009.05_new\qt\include\QtCo re" -I"..\..\..\..\Nokia\Qt\2009.05_new\qt\include\QtGu i" -I"..\..\..\..\Nokia\Qt\2009.05_new\qt\include" -I"..\..\..\..\Nokia\Qt\2009.05_new\qt\include\Acti veQt" -I"debug" -I"." -I"..\..\..\..\Nokia\Qt\2009.05_new\qt\mkspecs\win3 2-g++" -o debug\paint.o paint.cpp
C:/Nokia/Qt/2009.05_new/qt/bin\moc.exe -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN -I"..\..\..\..\Nokia\Qt\2009.05_new\qt\include\QtCo re" -I"..\..\..\..\Nokia\Qt\2009.05_new\qt\include\QtGu i" -I"..\..\..\..\Nokia\Qt\2009.05_new\qt\include" -I"..\..\..\..\Nokia\Qt\2009.05_new\qt\include\Acti veQt" -I"debug" -I"." -I"..\..\..\..\Nokia\Qt\2009.05_new\qt\mkspecs\win3 2-g++" -D__GNUC__ -DWIN32 paint.h -o debug\moc_paint.cpp
g++ -c -g -frtti -fexceptions -mthreads -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN -I"..\..\..\..\Nokia\Qt\2009.05_new\qt\include\QtCo re" -I"..\..\..\..\Nokia\Qt\2009.05_new\qt\include\QtGu i" -I"..\..\..\..\Nokia\Qt\2009.05_new\qt\include" -I"..\..\..\..\Nokia\Qt\2009.05_new\qt\include\Acti veQt" -I"debug" -I"." -I"..\..\..\..\Nokia\Qt\2009.05_new\qt\mkspecs\win3 2-g++" -o debug\moc_paint.o debug\moc_paint.cpp
g++ -enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-pseudo-reloc -mthreads -Wl -Wl,-subsystem,windows -o debug\PainT.exe debug/main.o debug/paint.o debug/moc_paint.o -L"c:\Nokia\Qt\2009.05_new\qt\lib" -lmingw32 -lqtmaind -lQtGuid4 -lQtCored4
mingw32-make[1]: Leaving directory `C:/Programming/Nokia/Paint/PainT'
mingw32-make: Leaving directory `C:/Programming/Nokia/Paint/PainT'
Exited with code 0.
The clean all output for stickman is:
Running build steps for project stickman...
Starting: C:/Nokia/Qt/2009.05_new/mingw/bin/mingw32-make.exe clean -w
mingw32-make: Entering directory `C:/Nokia/Qt/2009.05_new/qt/examples/animation/stickman'
C:/Nokia/Qt/2009.05_new/mingw/bin/mingw32-make -f Makefile.Debug clean
mingw32-make[1]: Entering directory `C:/Nokia/Qt/2009.05_new/qt/examples/animation/stickman'
del tmp\moc\debug_shared\moc_stickman.cpp tmp\moc\debug_shared\moc_node.cpp tmp\moc\debug_shared\moc_graphicsview.cpp
del tmp\rcc\debug_shared\qrc_stickman.cpp
del tmp\obj\debug_shared\main.o tmp\obj\debug_shared\stickman.o tmp\obj\debug_shared\animation.o tmp\obj\debug_shared\node.o tmp\obj\debug_shared\lifecycle.o tmp\obj\debug_shared\graphicsview.o tmp\obj\debug_shared\moc_stickman.o tmp\obj\debug_shared\moc_node.o tmp\obj\debug_shared\moc_graphicsview.o tmp\obj\debug_shared\qrc_stickman.o
mingw32-make[1]: Leaving directory `C:/Nokia/Qt/2009.05_new/qt/examples/animation/stickman'
C:/Nokia/Qt/2009.05_new/mingw/bin/mingw32-make -f Makefile.Release clean
mingw32-make[1]: Entering directory `C:/Nokia/Qt/2009.05_new/qt/examples/animation/stickman'
del tmp\moc\release_shared\moc_stickman.cpp tmp\moc\release_shared\moc_node.cpp tmp\moc\release_shared\moc_graphicsview.cpp
del tmp\rcc\release_shared\qrc_stickman.cpp
del tmp\obj\release_shared\main.o tmp\obj\release_shared\stickman.o tmp\obj\release_shared\animation.o tmp\obj\release_shared\node.o tmp\obj\release_shared\lifecycle.o tmp\obj\release_shared\graphicsview.o tmp\obj\release_shared\moc_stickman.o tmp\obj\release_shared\moc_node.o tmp\obj\release_shared\moc_graphicsview.o tmp\obj\release_shared\qrc_stickman.o
mingw32-make[1]: Leaving directory `C:/Nokia/Qt/2009.05_new/qt/examples/animation/stickman'
mingw32-make: Leaving directory `C:/Nokia/Qt/2009.05_new/qt/examples/animation/stickman'
Could Not Find C:\Nokia\Qt\2009.05_new\qt\examples\animation\stic kman\tmp\moc\release_shared\moc_stickman.cpp
Could Not Find C:\Nokia\Qt\2009.05_new\qt\examples\animation\stic kman\tmp\rcc\release_shared\qrc_stickman.cpp
Could Not Find C:\Nokia\Qt\2009.05_new\qt\examples\animation\stic kman\tmp\obj\release_shared\main.o
Exited with code 0.
The compiler output (all 602 lines of it) for stickman is attached.
The folder name 2009.05_new is because this is my second try at installing qt. (I uninstalled the first but the folder wouldn't delete and qt won't install in an existing directory - the original folder is gone now.) The re-install didn't allow me to compile the examples.
As for the MS compilers, I do have VS 2003, 2005, and 2008 compilers installed. I hesitate to uninstall these as I'm not sure Microsoft allows re-installs of VB 2005 Express now that you can't get it anymore.
Bookmarks