Can i suggest a flag associated with header files to indicate whether or not a header file should be 'moc'ed ? At present it seems every head file is passed to moc, which means every header has to include QOBJECT, but more importantly header files including templates will fail... -- Nigel Sale Senior Systems Engineer Martin-Baker Aircraft Co. Ltd.