Hello Dave, The first thing I do with such ghostly compiler errors, is look out the preprocessor output. Maybe something is #define'd and messing up things. To do this, run c++ -DHAVE_CONFIG_H -I. -I. -I.. -O2 -fno-exceptions \ -fno-check-new -fexceptions -c MainWindow.cxx with an additions -E flag Maarten