0

Is it possible to get the automoc'ed files (Qt moc)? That would be great because i could put it on a source_group.

I'm using cmake 3.4.1

Thanks in advance Tonka

Michael Aigner
  • 4,820
  • 4
  • 21
  • 33
  • 4
    You should use explicit `qt5_wrap_cpp(HEADERS_MOCED ${HEADERS})` instead of `automoc`. – Gluttton Jan 28 '16 at 13:49
  • 2
    [Here](http://stackoverflow.com/questions/25989448/implementing-qt-project-through-cmake/25990278#25990278) is a complete example. – Gluttton Jan 28 '16 at 14:09

0 Answers0