Quote Originally Posted by jpn View Post
See Tools->Options->Qt->General->AutoUpdateMocSteps.
Thanks, but alas, it was already set to TRUE.

As a work-around, I opened up the properties for the *.h file in question, went to Configuration Properties|Custom Build Step|General, and entered the following:

Command line: $(QTDIR)/bin/moc -o $(InputName)_moc.cpp $(InputPath)
Description: Running MOC on $(InputPath)
Outputs: $(InputName)_moc.cpp

But it would be nice if the Qt Integrator would notice the presence of the Q_OBJECT macro and automatically add this.