I try to make moc.exe to add a precompiled header include into generated moc_* files in Visual Studio with Qt plugin.
I tried to add a PRECOMPILED_HEADER=myheader.h (also with quotes) line into project's preprocessor definitions, that didn't work.
I also tried to add -DPRECOMPILED_HEADER=myheader.h as a parameter for moc.exe in the project *.vcxproj file.
Can anyone help?