OK. Finally I figure out the workaround, I need to manually run the following command before clicking on the build all button.
moc qttreepropertybrowser > qttreepropertybrowser.moc
moc qtpropertymanager > qtpropertymanager.moc
moc qteditorfactory > qteditorfactory.moc
moc qttreepropertybrowser > qttreepropertybrowser.moc
moc qtpropertymanager > qtpropertymanager.moc
moc qteditorfactory > qteditorfactory.moc
To copy to clipboard, switch view to plain text mode
Not sure why. QT people should include these command in their build file
Bookmarks