Bug 378434

Summary: Errors in compiling kmymoney for plasma 5
Product: [Applications] kmymoney Reporter: Christopher Tanner <christann404>
Component: generalAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: RESOLVED FIXED    
Severity: normal CC: ralf.habacker
Priority: NOR    
Version: git (master)   
Target Milestone: ---   
Platform: OpenMandriva   
OS: Linux   
Latest Commit: Version Fixed In: 5.0.0
Attachments: Compiling kmymoney

Description Christopher Tanner 2017-04-04 13:56:29 UTC
Created attachment 104868 [details]
Compiling kmymoney

When I try to compile the git version of kmymoney (plasma 5), I get a compile error - see the enclosed file. I am running on openmandriva 3.0 with KDE Plasma vs. 5.9.4 and KDR Frameworks 5.32.0.
Comment 1 Thomas Baumgart 2017-04-04 17:24:57 UTC
Can you pull from git master and see if my change solves your problem?
Comment 2 Christopher Tanner 2017-04-04 17:54:21 UTC
That fixed the problem. Thanks

Chris
Comment 3 Ralf Habacker 2017-07-01 12:26:27 UTC
commit 943522dce49b81e06b0b7b070e36dcb4b19ba84b
Author: Thomas Baumgart <thb@net-bembel.de>
Date:   Tue Apr 4 19:12:59 2017 +0200

    Use constBegin and constEnd for const_iterator
    
    Use the const variants in assignment to const iterators.

https://commits.kde.org/kmymoney/943522dce49b81e06b0b7b070e36dcb4b19ba84b