Bug 291574 - [PATCH] kate fails to build: redefinition of "struct QMetaTypeId<QList<KTextEditor::Document*> >
Summary: [PATCH] kate fails to build: redefinition of "struct QMetaTypeId<QList<KTextE...
Status: RESOLVED FIXED
Alias: None
Product: kate
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-15 12:14 UTC by esigra
Modified: 2012-07-06 10:59 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
patch that fixes the build (2.40 KB, patch)
2012-01-15 12:14 UTC, esigra
Details

Note You need to log in before you can comment on or make changes to this bug.
Description esigra 2012-01-15 12:14:11 UTC
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
Comment 1 Christoph Cullmann 2012-07-06 10:59:09 UTC
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