(09-10-2021, 01:13 AM)JosJuice Wrote: DolphinQt.vcxproj has one section for things that don't need to be ran through moc and one section for things that do. You've most likely used the non-moc section when you needed the moc section. (Visual Studio's ability to automatically add things to the vcxproj files doesn't know about moc and just treats everything as if it doesn't need moc. You'll need to edit the vcxproj file manually.)
This fix worked perfectly, thank you!
I'll document what i did just in case someone else with the same problem reads this thread.
I added two header files which used Q_OBJECT. DolphinQt.vcxproj states on ln203 that if Q_OBJECT is used in the header file then the item type must be set to QtMoc. Visual Studio automatically added my two header files to DolphinQt.vcxproj with the item type ClInclude, so i changed it to QtMoc, saved the file, and then was able to build Dolphin.
