Notes |
|
(0027618)
|
Alex Neundorf
|
2011-10-22 12:07
|
|
I see.
It only automatically scans the header file if it has found neither a *.moc nor a moc_*.cpp include. |
|
|
(0027619)
|
Alex Neundorf
|
2011-10-22 12:10
|
|
Does adding the A.h to the list of source files for the target also make it work for you ?
(without inserting an #include "moc_A.cpp" into A.cpp)
Alex |
|
|
(0027620)
|
Alex Neundorf
|
2011-10-22 13:47
|
|
This should be working now in the AutomocFindQ_OBJECTAlwaysInHeader branch on cmake stage, and I also already merged it into cmake next.
I also extended the automoc test to test for this case.
|
|
|
(0027621)
|
Jason Haslam
|
2011-10-22 14:07
|
|
Yes, adding the header file to the list of source files works. That's a better workaround. Thanks for addressing this so quickly! |
|
|
(0027622)
|
Jason Haslam
|
2011-10-22 14:11
|
|
Ugh, didn't really mean to reopen this bug. I just wanted to add a note. I guess I'm not allowed to close it now. Sorry about that. |
|
|
(0027624)
|
Alex Neundorf
|
2011-10-22 14:31
|
|
Yes, adding notes is only possible after reopening.
No problem.
Alex
|
|