Currently I am using Visual Studio 2013 on Windows 8.1. I have installed the QT5 add-in with version QT 4.8.3(Because I couldn't install QT4 add-in). When running my project, almost moc files are generated. But my class didn't generate moc files. How am I able to generate it?
Asked
Active
Viewed 2,201 times
0
-
I read this link :https://truth2.wordpress.com/2010/09/04/custom-build-rules-for-qt-under-visual-studio-2010/ and follow . But don't succes – Cợi Tru Vô Rú May 20 '15 at 02:32
-
Try erasing `Q_OBJECT` in the header file, save, re insert `Q_OBJECT` and saving again. – Lahiru Chandima May 20 '15 at 02:41
-
Poor me! I have tried. But didn't sucess. Tks :) – Cợi Tru Vô Rú May 20 '15 at 02:57
1 Answers
0
I found the answer to resovle my problem. If a class don't generate moc file, you check again their properties. Copy another property for it.

Cợi Tru Vô Rú
- 35
- 8