[Kst] KDE 3.5 viewlabelwidget

George Staikos staikos at kde.org
Tue Nov 29 20:17:26 CET 2005


On Tuesday 29 November 2005 14:18, Ted Kisner wrote:
> I just upgraded to KDE 3.5 and did an uninstall + distclean.  When building
> now, I get:
>
> <snip>
> ...
> viewlabelwidget.cpp: In constructor
> 'ViewLabelWidget::ViewLabelWidget(QWidget*, const char*, uint)':
> viewlabelwidget.cpp:47: error: invalid use of undefined type 'struct
> ScalarSelector'
> viewlabelwidget.h:21: error: forward declaration of 'struct ScalarSelector'
> viewlabelwidget.cpp:48: error: no matching function for call to
> 'QHBoxLayout::addWidget(ScalarSelector*&)'
> /usr/share/qt3/include/qlayout.h:386: note: candidates are: void
> QBoxLayout::addWidget(QWidget*, int, int)
> ...
> </snip>

   Do you have a scalarselector.h?  Is it included in viewlabelwidget.cpp?

> So for some reason, it can't find the definition of ScalarSelector, even
> though these files get generated earlier, when building libkstwidgets. 
> This is linked to libkstguiapp and in turn to libkstapp (where
> viewlabelwidget is).  Has anyone seen this kind of behaviour with 3.5? 
> George- you're using 3.5 branch for kst development, correct?

  Yes I use KDE from SVN 3.5 branch.

-- 
George Staikos
KDE Developer				http://www.kde.org/
Staikos Computing Services Inc.		http://www.staikos.net/


More information about the Kst mailing list