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">&lt;<a href="mailto:thb@net-bembel.de">thb@net-bembel.de</a>&gt;</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>
&gt; On Sat, Sep 19, 2009 at 2:42 PM, Alvaro Soliverez<br>
&lt;<a href="mailto:asoliverez@gmail.com">asoliverez@gmail.com</a>&gt;wrote:<br>
&gt; &gt; On Sat, Sep 19, 2009 at 2:14 PM, Thomas Baumgart &lt;<a href="mailto:thb@net-bembel.de">thb@net-bembel.de</a>&gt;wrote:<br>
&gt; &gt;&gt; Hi,<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; on Saturday 19 September 2009 Cristian Onež wrote:<br>
&gt; &gt;&gt; &gt; Have you tried changing the INCLUDE_DIRECTORIES(<br>
&gt; &gt;&gt; &gt; ${KMyMoney_SOURCE_DIR}/libkdchart) line in reports/CMakeLists.txt to<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; point<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; &gt;  to the correct path where the headers are located?<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; That&#39;s what we did. Now in SVN.<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; --<br>
&gt; &gt;<br>
&gt; &gt; Thanks, Thomas. That was fast!<br>
&gt; &gt; Now I will get to work fixing all the compilation due to the new version<br>
&gt; &gt; of kdchart. With any luck, we will have the charts back soon.<br>
&gt;<br>
&gt; I&#39;m still having some problems with the subclassing. Funny thing is that it<br>
&gt; will compile pivottable ok, but then it gives an error like it cannot find<br>
&gt; the KDChart classes in kreportchartview.h.<br>
&gt;<br>
&gt; Here is a diff with the changes I made so far. I commented a lot of code<br>
&gt; 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&gt; 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&amp;, reports::PivotGridRowSet const&amp;,<br>
reports::ERowType) const&#39;:<br>
/home/thb/devel/kmymoney4/kmymoney2/reports/pivottable.cpp:2254: undefined<br>
reference to `KDChart::Widget::setDataCell(int, int, double)&#39;<br>
/home/thb/devel/kmymoney4/kmymoney2/reports/pivottable.cpp:2246: undefined<br>
reference to `KDChart::Widget::setDataCell(int, int, double)&#39;<br>
/home/thb/devel/kmymoney4/kmymoney2/reports/pivottable.cpp:2244: undefined<br>
reference to `KDChart::Widget::setDataCell(int, int, double)&#39;<br>
/home/thb/devel/kmymoney4/kmymoney2/reports/pivottable.cpp:2256: undefined<br>
reference to `KDChart::Widget::setDataCell(int, int, double)&#39;<br>
../lib/libreports.a(pivottable.o): In function `.L2172&#39;:<br>
/home/thb/devel/kmymoney4/kmymoney2/reports/pivottable.cpp:1997: undefined<br>
reference to `KDChart::Widget::setType(KDChart::Widget::ChartType,<br>
KDChart::Widget::SubType)&#39;<br>
../lib/libreports.a(pivottable.o): In function `.L2176&#39;:<br>
/home/thb/devel/kmymoney4/kmymoney2/reports/pivottable.cpp:2005: undefined<br>
reference to `KDChart::Widget::setType(KDChart::Widget::ChartType,<br>
KDChart::Widget::SubType)&#39;<br>
../lib/libreports.a(pivottable.o): In function `.L2175&#39;:<br>
/home/thb/devel/kmymoney4/kmymoney2/reports/pivottable.cpp:2016: undefined<br>
reference to `KDChart::Widget::setType(KDChart::Widget::ChartType,<br>
KDChart::Widget::SubType)&#39;<br>
../lib/libreports.a(pivottable.o): In function `.L2173&#39;:<br>
/home/thb/devel/kmymoney4/kmymoney2/reports/pivottable.cpp:2001: undefined<br>
reference to `KDChart::Widget::setType(KDChart::Widget::ChartType,<br>
KDChart::Widget::SubType)&#39;<br>
../lib/libreports.a(pivottable.o): In function `.L2174&#39;:<br>
/home/thb/devel/kmymoney4/kmymoney2/reports/pivottable.cpp:2009: undefined<br>
reference to `KDChart::Widget::setType(KDChart::Widget::ChartType,<br>
KDChart::Widget::SubType)&#39;<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>