[EMAIL PROTECTED] (Lars Gullik Bjønnes) writes: | | I a, a bit slow but I get there :) | | So it is QContentPane_moc.C shat should get config.h then. | | moc -f<incfile> does not do what we want?
This does not look too bad imho: Index: Makefile.am =================================================================== --- Makefile.am (revision 14704) +++ Makefile.am (working copy) @@ -24,4 +24,4 @@ libqt3moc_la_LINK = touch libqt3moc.la ; echo %_moc.C: $(srcdir)/../%.h - $(MOC) -o $@ $< + $(MOC) '-f<config.h>' -f$< -o $@ $< An other option is to do like qt4 and include the moc file in the corresponding .C file. (at the end) -- Lgb