struggling to build KDev4

Andreas Pakulat apaku at gmx.de
Fri Aug 22 18:32:45 UTC 2008


On 22.08.08 19:13:23, Marek Jasovsky wrote:
> Hi
> 
> was able to run cmake using LD... env var, but currently (all files
> updated from svn) kdevplatfrom compilation fails as per following
> error:
> 
> [  0%] Building CXX object sublime/CMakeFiles/sublime.dir/container.o
> /home/fretka/src/kdevplatform/sublime/container.cpp: In constructor
> 'Sublime::Container::Container(QWidget*)':
> /home/fretka/src/kdevplatform/sublime/container.cpp:63: error:
> 'setCloseButtonEnabled' was not declared in this scope
> make[2]: *** [sublime/CMakeFiles/sublime.dir/container.o] Error 1
> make[1]: *** [sublime/CMakeFiles/sublime.dir/all] Error 2
> make: *** [all] Error 2
> 
> any ideas how to solve this?

Hmm, this looks like you're building against kdelibs 4.0 not 4.1.
KTabWidget::setCloseButtonEnabled was introduced with KDE 4.1.

To double-check run make VERBOSE=1 and check the gcc calls for the -I
and -L flags and what kde directory they use.

Andreas

-- 
You will win success in whatever calling you adopt.




More information about the KDevelop-devel mailing list