Unsolved Adding Custom Build Rules for QT under Visual Studio 2017
-
Hello Everyone,
in my visual Studio Project i defined some classes that contain Q_OBJECT declarations. Based on a bit of research these need to be compiled by the meta Object Compiler (moc).
The Question is how to add a Custom Build Rule for the header files of these classes so they get compiled by the moc and not by the standard c++ Compiler in Visual Studio.
Thanks !
-
Do you use Qt Visual Studio integration / qmake or cmake or do you build the vcproj by yourself?
-
I build it by myself