[prev in list] [next in list] [prev in thread] [next in thread] 

List:       koffice-devel
Subject:    Re: Shadow distance type
From:       Nicolas Goutte <nicolasg () snafu ! de>
Date:       2004-08-31 20:50:16
Message-ID: 200408312250.17628.nicolasg () snafu ! de
[Download RAW message or body]

As you have not shown how the linker is called, it is diffuclt to tell if 
libkofficecore is included in the list of libraries to link against.

On Tuesday 31 August 2004 22:34, p.stirnweiss_koffice@bluewin.ch wrote:
> >-- Message original --
>
> From: Nicolas Goutte <nicolasg@snafu.de>
>
> >To: For developer's discussion about KOffice <koffice-devel@mail.kde.org>
> >Date: Tue, 31 Aug 2004 20:59:08 +0200
> >Subject: Re: Shadow distance type
> >Reply-To: For developer's discussion about KOffice
> > <koffice-devel@mail.kde.org>
> >
> >On Tuesday 31 August 2004 20:51, p.stirnweiss_koffice@bluewin.ch wrote:
> >> >-- Message original --
> >>
> >> From: Nicolas Goutte <nicolasg@snafu.de>
> >>
> >> >To: For developer's discussion about KOffice
> >> > <koffice-devel@mail.kde.org> Date: Tue, 31 Aug 2004 20:20:31 +0200
> >> >Subject: Re: Shadow distance type
> >> >Reply-To: For developer's discussion about KOffice
> >> > <koffice-devel@mail.kde.org>
> >> >
> >> >
> >> >Please use double, as the unit widgets in KOffice are based on double.
> >> >
> >> >And I would perhaps not change it to KDoubleNumInput but the
> >> > corresponding
> >> >
> >> >unit widget.
> >>
> >> I meant a KDoubleSpinBox but I guess this is not the proper one either.
> >
> >Is
> >
> >> the corresponding unit widget to be found in KOffice? or KDE?
> >
> >Sorry! By "unit widgets" I meant the widgets defined in:
> >koffice/lib/kofficeui/koUnitWidgets.h
> >
> >So I suppose that you would need a KoUnitDoubleSpinBox
> >
> >(Unit widgets are supposed to be used everywhere, but the implementation
> >was
> >closely related to their use in Karbon. I have tried to make the class
> > more
> >
> >general (always based on points) but it is not really finished.)
>
> Well, I get this on linking with KoUnitDoubleSpinBox :
>
> koDecoTab.o(.text+0x7c0): In function
> `koDecoTab::koDecoTab[not-in-charge](QWidget*, char const*)':
> */home/test/src/koDecoTab.cpp:90: undefined reference to
> `KoUnitDoubleSpinBox::KoUnitDoubleSpinBox[in-charge](QWidget*, double,
> double, double, double, KoUnit::Unit, unsigned, char const*)'
> *koDecoTab.o(.text+0x194c): In function
> `koDecoTab::koDecoTab[in-charge](QWidget*, char const*)':
> */home/test/src/koDecoTab.cpp:90: undefined reference to
> `KoUnitDoubleSpinBox::KoUnitDoubleSpinBox[in-charge](QWidget*, double,
> double, double, double, KoUnit::Unit, unsigned, char const*)'
> *koDecoTab.o(.text+0x244e): In function `koDecoTab::shadowChangedSlot()':
>
> */home/test/src/koDecoTab.cpp:184: undefined reference to
> `KoUnitDoubleSpinBox::value() const'
> *collect2: ld returned 1 exit status
> *gmake[2]: *** [test] Error 1
> *gmake[2]: Target `all' not remade because of errors.
> *gmake[1]: *** [all-recursive] Error 1
> *gmake: *** [all] Error 2
>
> I might be missing something in the Makefile. I have not got this problem
> with a KDoubleSpinBox. Only change between the two trials was this.
>
> Pierre
(...)

_______________________________________________
koffice-devel mailing list
koffice-devel@mail.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