On Fri, Jul 09, 2004 at 07:43:37PM +0200, Georg Baum wrote:

> ^^^^^^^ this is the reason, because almost everything in qtranslator.h is 
> inside #ifndef QT_NO_TRANSLATION ... #endif

Unfortunately I cannot remember why we turn it off :(

> If something with moc is going wrong, it shows up at link time as undefined 
> smybols. The qt headers are valid c++ and compilable without any 
> preprocessing, but the qt macros add references to code that is generated 
> by moc.

And for just using a header, we don't need to moc it - the moc binary of
QTranslator is already in libqt.

regards
john

Reply via email to