Created attachment 67847 [details] patch that fixes the build Version: unspecified (using KDE 4.7.4) OS: Linux Kate 3.7.4 fails to build. The attached patch fixes it. Reproducible: Always Steps to Reproduce: 1. tar jxf kate-4.7.4.tar.bz2 2. cd kate-4.7.4 3. mkdir build 4. cd build 5. cmake -DKDE4_ENABLE_FINAL=ON .. 6. make Actual Results: In file included from /home/work/programmering/kate-4.7.4/build/kate/plugins/filetree/katefiletreeplugin_final_cpp.cpp:4:0: kate-4.7.4/kate/plugins/filetree/katefiletreemodel.cpp:415:1: fel: omdefinition av "struct QMetaTypeId<QList<KTextEditor::Document*> >" kate-4.7.4/kate/plugins/filetree/katefiletree.cpp:201:1: fel: föregående definition av "struct QMetaTypeId<QList<KTextEditor::Document*> >" Expected Results: successful build
Git commit 10e2508786d0d4340cfb6b9a98af3aea9445910e by Christoph Cullmann. Committed on 06/07/2012 at 12:58. Pushed by cullmann into branch 'master'. allow again to use enable final in build thanks for patch to esigra M +1 -1 kate/plugins/filetree/katefiletree.cpp M +1 -1 kate/plugins/filetree/katefiletreemodel.cpp A +24 -0 kate/plugins/filetree/metatype_qlist_ktexteditor_document_pointer.h [License: LGPL (v2)] http://commits.kde.org/kate/10e2508786d0d4340cfb6b9a98af3aea9445910e