Why is it important to add an include for .moc file in a Qt cpp source code?
This is a common step used in several Qt samples, including this one:
http://doc.qt.io/qt-5/qttestlib-tutorial1-example.html; where the line #include "testqstring.moc"
should be included in the end of the file.
I don't understand exactly why this is necessary.