file_templates: Remove '#include "foo.moc"' footer
ClosedPublic

Authored by kfunk on Dec 12 2016, 11:49 PM.

Details

Summary

No longer necessary for the majority of use-cases (QMake, or modern
AUTOMOC-based CMake)

Diff Detail

Repository
R32 KDevelop
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
kfunk updated this revision to Diff 8956.Dec 12 2016, 11:49 PM
kfunk retitled this revision from to file_templates: Remove '#include "foo.moc"' footer.
kfunk updated this object.
kfunk edited the test plan for this revision. (Show Details)
Restricted Application added a subscriber: kdevelop-devel. · View Herald TranscriptDec 12 2016, 11:49 PM

@dfaure Looking through a couple of the issues you've found earlier this year

apol accepted this revision.Dec 13 2016, 3:10 AM
apol added a reviewer: apol.
This revision is now accepted and ready to land.Dec 13 2016, 3:10 AM
apol added a comment.Dec 13 2016, 3:11 AM

Also it could be useful if we could get a test that generates and compiles these, to make sure these make some kind of sense...

kfunk added a comment.Dec 13 2016, 6:51 AM
In D3657#68427, @apol wrote:

Also it could be useful if we could get a test that generates and compiles these, to make sure these make some kind of sense...

Definitely, had the same thought while filing this patch...

This revision was automatically updated to reflect the committed changes.