PDA

View Full Version : Problem compiling under visual studio



franco.amato
28th October 2009, 15:46
Hi to all,
I write Qt code using Microsoft Visual studio. I know that when I use signal/slots in a class
I have to moc the file containing the class using custom rules.
I found a post in this post but it doesn't work. Visual studio give to me error messages and I can not find useful links on internet.
Can I have a help in write such custom rules?
Thank you very much to all that will reply.
Best Regards

squidge
28th October 2009, 18:53
Use the free Visual Studio addin which creates them for you. It can even take in a .pro file and spit out a .vcproj file.