[prev in list] [next in list] [prev in thread] [next in thread]
List: koffice-devel
Subject: Re: [Kmymoney2-developer] Charts with KOffice 1.5
From: Paul Sprakes <paul () sprakes ! co ! uk>
Date: 2006-04-14 10:51:21
Message-ID: 200604141151.21872.paul () sprakes ! co ! uk
[Download RAW message or body]
I don't know much about c++ but it seems to be a problem with KOffice. As far
as I can tell KDChart was updated to the latest version in January.
I have got past the config error by editing the include path in
kdchart_export.h see:
http://lists.kde.org/?l=kde-commits&m=114347919120545&w=2
(Note that the above change went in koffice trunk but not 1.5 branch)
However I then encountered errors while compiling regarding a non existant
KDXMLTools.h which i tracked to the following commit to the old KDChart code:
http://lists.kde.org/?l=kde-commits&m=108024446323273&w=2
I made the changes described in the above commit to my local koffice 1.5
source and re-installed it. This got me further in the KMymoney compilation
but have now encountered this:
/usr/qt/3/bin/moc ./knewaccountdlg.h -o knewaccountdlg.moc
if g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/opt/kde-head1/include
-I/usr/qt/3/include -I. -I../.. -I. -DQT_THREAD_SUPPORT -D_REENTRANT
-DKMM_DEBUG=0 -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE
-Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -O2
-march=athlon-xp -O2 -pipe -Wformat-security -Wmissing-format-attribute
-Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -fexceptions
-MT knewaccountdlg.o -MD -MP -MF ".deps/knewaccountdlg.Tpo" \
-c -o knewaccountdlg.o `test -f 'knewaccountdlg.cpp' || echo
'./'`knewaccountdlg.cpp; \
then mv -f ".deps/knewaccountdlg.Tpo" ".deps/knewaccountdlg.Po"; \
else rm -f ".deps/knewaccountdlg.Tpo"; exit 1; \
fi
knewaccountdlg.cpp: In constructor `KNewAccountDlg::KNewAccountDlg(const
MyMoneyAccount&, bool, bool, QWidget*, const char*, const char*)':
knewaccountdlg.cpp:420: error: expected unqualified-id before numeric constant
The offending line is:
KDChartPropertySet propSetFutureValue("future value",
KDChartParams::KDCHART_PROPSET_NORMAL_DATA);
Unfortunately I have no idea what to do at this point :)
Anyway, I hope this is helpful to someone.
Thanks, Paul.
On Friday 14 April 2006 04:47, ace jones wrote:
> Hi, Paul. This is a new issue, thanks for reporting. Please feel free
> to post your config.log.
>
> </Ace>
>
> On Thu, 2006-04-13 at 02:48, Paul Sprakes wrote:
> > Just upgraded to KOffice 1.5 and can no longer run KMymoney nor can I
> > compile it with charts enabled (up to date anon cvs). Is this something
> > already known about and if not would you like me to post relevant
> > config.log details?
> >
> > Thanks,
> >
> > Paul.
> >
> >
> > -------------------------------------------------------
> > This SF.Net email is sponsored by xPML, a groundbreaking scripting
> > language that extends applications into web and mobile media. Attend the
> > live webcast and join the prime developer group breaking into this new
> > coding territory!
> > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
> > _______________________________________________
> > KMyMoney2-developer mailing list
> > KMyMoney2-developer@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/kmymoney2-developer
_______________________________________________
koffice-devel mailing list
koffice-devel@kde.org
https://mail.kde.org/mailman/listinfo/koffice-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic