kdelibs compile problem

Ralf Habacker ralf.habacker at freenet.de
Fri Jun 9 10:27:45 BST 2006


Hi all,

I've update to recent kdelibs svn source and got an error message:

'class KAction' has no member named 'associatedWidgets'

In the KAction class i found containerCount() which looks like it return 
the same result

    /**
     * Returns how many widgets this action is added to.
     *
     * \deprecated use associatedWidgets().count() instead.
     */
    KDE_DEPRECATED int containerCount() const;

Unfortunally associatedWidgets is really not defined in KAction neither 
in QAction, from which KAction is derived.

Any ideas what going wrong ?

Ralf

Building CXX object kdeui/CMakeFiles/kdeui.dir/ktoolbar.obj
F:\daten\kdelibs\kdeui\ktoolbar.cpp: In member function `void 
KToolBar::slotContextAboutToShow()':
F:\daten\kdelibs\kdeui\ktoolbar.cpp:733: error: 'class KAction' has no 
member named 'associatedWidgets'
F:\daten\kdelibs\kdeui\ktoolbar.cpp: In member function `void 
KToolBar::slotContextAboutToHide()':
F:\daten\kdelibs\kdeui\ktoolbar.cpp:799: error: 'class KAction' has no 
member named 'associatedWidgets'
F:\daten\kdelibs\kdeui\ktoolbar.cpp: In member function `virtual void 
KToolBar::dragMoveEvent(QDragMoveEvent*)':
F:\daten\kdelibs\kdeui\ktoolbar.cpp:1098: error: `widgetForAction' 
undeclared (first use this function)
F:\daten\kdelibs\kdeui\ktoolbar.cpp:1098: error: (Each undeclared 
identifier is reported only once for each functio
appears in.)
F:\daten\kdelibs\kdeui\ktoolbar.cpp: In member function `virtual void 
KToolBar::actionEvent(QActionEvent*)':
F:\daten\kdelibs\kdeui\ktoolbar.cpp:1320: error: `widgetForAction' 
undeclared (first use this function)
mingw32-make[2]: *** [kdeui/CMakeFiles/kdeui.dir/ktoolbar.obj] Error 1
mingw32-make[1]: *** [kdeui/CMakeFiles/kdeui.dir/all] Error 2
mingw32-make: *** [all] Error 2
F:\daten\kdelibs-build>start C:\Programme\Ultraedt\uedit32.exe 
F:\daten\kdelibs\kdeui\ktoolbar.cpp

F:\daten\kdelibs-build>F:\daten\kdelibs\kdeui\ktoolbar.cpp







More information about the kde-core-devel mailing list