Both those methods exist in KDChart::Widget.<br><br><br><div class="gmail_quote">On Sun, Sep 20, 2009 at 5:23 AM, Thomas Baumgart <span dir="ltr"><<a href="mailto:thb@net-bembel.de">thb@net-bembel.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi,<br>
<div><div></div><div class="h5"><br>
on Sunday 20 September 2009 Alvaro Soliverez wrote:<br>
<br>
<br>
> On Sat, Sep 19, 2009 at 2:42 PM, Alvaro Soliverez<br>
<<a href="mailto:asoliverez@gmail.com">asoliverez@gmail.com</a>>wrote:<br>
> > On Sat, Sep 19, 2009 at 2:14 PM, Thomas Baumgart <<a href="mailto:thb@net-bembel.de">thb@net-bembel.de</a>>wrote:<br>
> >> Hi,<br>
> >><br>
> >> on Saturday 19 September 2009 Cristian Onež wrote:<br>
> >> > Have you tried changing the INCLUDE_DIRECTORIES(<br>
> >> > ${KMyMoney_SOURCE_DIR}/libkdchart) line in reports/CMakeLists.txt to<br>
> >><br>
> >> point<br>
> >><br>
> >> > to the correct path where the headers are located?<br>
> >><br>
> >> That's what we did. Now in SVN.<br>
> >><br>
> >> --<br>
> ><br>
> > Thanks, Thomas. That was fast!<br>
> > Now I will get to work fixing all the compilation due to the new version<br>
> > of kdchart. With any luck, we will have the charts back soon.<br>
><br>
> I'm still having some problems with the subclassing. Funny thing is that it<br>
> will compile pivottable ok, but then it gives an error like it cannot find<br>
> the KDChart classes in kreportchartview.h.<br>
><br>
> Here is a diff with the changes I made so far. I commented a lot of code<br>
> that is not crucial at the moment.<br>
<br>
</div></div>Applying your patch and adding another include path to the views CMakeList.txt<br>
file (already in SVN) I now get as far as:<br>
<br>
thb@dollo:~/devel/kmymoney4/build> make<br>
[ 0%] Built target kgpgfile_automoc<br>
[ 0%] Built target kgpgfile<br>
[ 0%] Built target kmm_kdchart_automoc<br>
[ 15%] Built target kmm_kdchart<br>
[ 15%] Built target kmymoney2_automoc<br>
[ 15%] Built target kmm_storage_automoc<br>
[ 18%] Built target kmm_storage<br>
[ 18%] Built target kmm_mymoney_automoc<br>
[ 23%] Built target kmm_mymoney<br>
[ 23%] Built target interfaces_automoc<br>
[ 24%] Built target interfaces<br>
[ 24%] Built target kmm_plugin_automoc<br>
[ 25%] Built target kmm_plugin<br>
[ 25%] Built target reports_automoc<br>
[ 27%] Built target reports<br>
[ 27%] Built target kmymoney_base_automoc<br>
[ 34%] Built target kmymoney_base<br>
[ 34%] Built target widgets_automoc<br>
[ 45%] Built target widgets<br>
[ 45%] Built target settings_automoc<br>
[ 50%] Built target settings<br>
[ 50%] Built target dialogs_automoc<br>
[ 52%] Built target generate_widgets_ui_srcs<br>
[ 70%] Built target dialogs<br>
[ 70%] Built target views_automoc<br>
[ 70%] Built target generate_base_ui_srcs<br>
[ 70%] Built target generate_dialogs_ui_srcs<br>
[ 75%] Built target views<br>
[ 75%] Built target converter_automoc<br>
[ 76%] Built target converter<br>
[ 76%] Built target wizardpages_automoc<br>
[ 77%] Built target wizardpages<br>
[ 77%] Built target newuserwizard_automoc<br>
[ 78%] Built target generate_wizardpages_ui_srcs<br>
[ 80%] Built target newuserwizard<br>
[ 80%] Built target newaccountwizard_automoc<br>
[ 84%] Built target newaccountwizard<br>
[ 84%] Built target kmymoney_common_automoc<br>
[ 86%] Built target kmymoney_common<br>
Linking CXX executable kmymoney2<br>
../lib/libreports.a(pivottable.o): In function<br>
`reports::PivotTable::drawChartRowSet(int, bool, bool,<br>
reports::KReportChartView&, reports::PivotGridRowSet const&,<br>
reports::ERowType) const':<br>
/home/thb/devel/kmymoney4/kmymoney2/reports/pivottable.cpp:2254: undefined<br>
reference to `KDChart::Widget::setDataCell(int, int, double)'<br>
/home/thb/devel/kmymoney4/kmymoney2/reports/pivottable.cpp:2246: undefined<br>
reference to `KDChart::Widget::setDataCell(int, int, double)'<br>
/home/thb/devel/kmymoney4/kmymoney2/reports/pivottable.cpp:2244: undefined<br>
reference to `KDChart::Widget::setDataCell(int, int, double)'<br>
/home/thb/devel/kmymoney4/kmymoney2/reports/pivottable.cpp:2256: undefined<br>
reference to `KDChart::Widget::setDataCell(int, int, double)'<br>
../lib/libreports.a(pivottable.o): In function `.L2172':<br>
/home/thb/devel/kmymoney4/kmymoney2/reports/pivottable.cpp:1997: undefined<br>
reference to `KDChart::Widget::setType(KDChart::Widget::ChartType,<br>
KDChart::Widget::SubType)'<br>
../lib/libreports.a(pivottable.o): In function `.L2176':<br>
/home/thb/devel/kmymoney4/kmymoney2/reports/pivottable.cpp:2005: undefined<br>
reference to `KDChart::Widget::setType(KDChart::Widget::ChartType,<br>
KDChart::Widget::SubType)'<br>
../lib/libreports.a(pivottable.o): In function `.L2175':<br>
/home/thb/devel/kmymoney4/kmymoney2/reports/pivottable.cpp:2016: undefined<br>
reference to `KDChart::Widget::setType(KDChart::Widget::ChartType,<br>
KDChart::Widget::SubType)'<br>
../lib/libreports.a(pivottable.o): In function `.L2173':<br>
/home/thb/devel/kmymoney4/kmymoney2/reports/pivottable.cpp:2001: undefined<br>
reference to `KDChart::Widget::setType(KDChart::Widget::ChartType,<br>
KDChart::Widget::SubType)'<br>
../lib/libreports.a(pivottable.o): In function `.L2174':<br>
/home/thb/devel/kmymoney4/kmymoney2/reports/pivottable.cpp:2009: undefined<br>
reference to `KDChart::Widget::setType(KDChart::Widget::ChartType,<br>
KDChart::Widget::SubType)'<br>
collect2: ld returned 1 exit status<br>
make[2]: *** [kmymoney2/kmymoney2] Error 1<br>
make[1]: *** [kmymoney2/CMakeFiles/kmymoney2.dir/all] Error 2<br>
make: *** [all] Error 2<br>
<div class="im"><br>
--<br>
<br>
<br>
Regards<br>
<br>
Thomas Baumgart<br>
<br>
GPG-FP: E55E D592 F45F 116B 8429 4F99 9C59 DB40 B75D D3BA<br>
-------------------------------------------------------------<br>
</div>Having trouble with Windows? Reboot!<br>
Having trouble with Linux? Be root!<br>
-------------------------------------------------------------<br>
<br>_______________________________________________<br>
KMyMoney-devel mailing list<br>
<a href="mailto:KMyMoney-devel@kde.org">KMyMoney-devel@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/kmymoney-devel" target="_blank">https://mail.kde.org/mailman/listinfo/kmymoney-devel</a><br>
<br></blockquote></div><br>