> > # tell cmake to create .moc files for all files in the variable
> > values_test_SRCS
> > # that require such a file.
> > # note: this assumes that you use #include "header.moc" in your files
> > QT4_AUTOMOC(${values_test_SRCS})
> 
> What does your "#include "foo.moc" file look like exactly ?
> For debugging you could insert some message(STATUS ...) in the FindQt4.cmake 
> file to see what it does.
> 
> Bye
> Alex

I've gotten it to work.  The problem seems to be I needed to rerun cmake
after adding the #include "header.moc" line.  Even though CMakeLists.txt
was checked each time I reran make, it didn't generate the rule to run
moc unless I reran cmake.

Thanks for the response.

Regards,
Pat



