First of all, it's a warning, not an error. The reason for the warning is that there used to be a class with Q_OBJECT macro. A moc rule was created for corresponding file. Now that Q_OBJECT macro has been removed the corresponding moc step is unnecessary (but for some reason did not get properly removed), thus warning message.
Bookmarks