Q. After compiling the Qt code, not getting the moc file.
Ans: Its a general mistake, what new commers in Qt use to do. Please check your code, you have forget to add 'Q_OBJECT' macro in the class.
Ex.
Class B : public QWidget
{
Q_OBJECT
//rest of the code
}
No comments:
Post a Comment