Using the Qt Visual Studio integration, adding a new Qt class adds two separate files created by moc.exe: one for debugging and one for release (and one for any other configuration that currently exists). However, the two possible generated files seem the same.
On the other hand, when adding the user interface class, the files of the generated uic.exe files do not have this separation and are the same file for all configurations.
Does anyone have any idea why there is a need for a separate moc file for each configuration? When is there a difference between the two?
source
share