Is there any chance you have a version mismatch between the Qt headers and the moc tool? Do you have multiple versions of Qt installed?