KMM4: KDChart 2.6 commit broke build?

MK mailing.m1 at kkk-web.de
Fri Jan 26 21:04:37 UTC 2018


Hi!

Compilation of KMM 4.1 fails with:

***
./kmymoney/libkdchart/src/KDChart/Cartesian/KDChartCartesianAxis.cpp:276:46:
error: conversion from ‘QMap<double, QString>::iterator’ to non-scalar
type ‘QMap<double, QString>::ConstIterator {aka QMap<double,
QString>::const_iterator}’ requested
 _dataHeaderLabels.lowerBound( slightlyLessThan( m_position ) );
                             ^
and line 306:

QMap< qreal, QString >::ConstIterator it = m_annotations.upperBound(
m_position );

***

These lines changed in commit cb841612e11349aca26b6c4af4ff7dced9a95357
which updated KDChart to 2.6

Does KMM4 still compile for you?


Martin




More information about the KMyMoney-devel mailing list