After messing around a bit (and some editing of the generated Makefiles), it looks like what is happening is that moc is not properly processing Mai
I had the same problem and found a solution. As Eric Lemanissier commented in an issue on GitHub:
This error is not related to conan: you need to add your header files in add_executable, otherwise the moc won't parse them
The header files have to be added to the project using an add_executable
or add_library
statement. If this is not done, automoc won't parse the files.