Re: [CMake] AUTOMOC does not process headers in subdirectory of include/

2019-04-12 Thread Mario Emmenlauer
Anyone? On 10.04.19 14:48, Mario Emmenlauer wrote: > > Dear all, > > we have a problem that Qt moc is only called for headers in the > include directory of the project, not for subdirectories. Attached > is a minimal example. cmake should call moc to generate the moc- > sources in MyQtWidgets_a

[CMake] AUTOMOC does not process headers in subdirectory of include/

2019-04-10 Thread Mario Emmenlauer
Dear all, we have a problem that Qt moc is only called for headers in the include directory of the project, not for subdirectories. Attached is a minimal example. cmake should call moc to generate the moc- sources in MyQtWidgets_autogen/include/bda/ folder. However the sources are not generated.