struggling to build KDev4

Marek Jasovsky jasovsky.marek at gmail.com
Fri Aug 22 18:47:14 UTC 2008


Yes, you are right, it keeps taking include files from /usr/include/KDE

can you send me your setup of env vars, I should change, in order to
use my include files in $HOME/kde4/... ?

thanks in advance.

I thought actually this was qt version issue

and thanks also for VERBOSE=1 hint


Marek

[  0%] Building CXX object sublime/CMakeFiles/sublime.dir/container.o
cd /home/fretka/src/kdevplatform/build/sublime && /usr/bin/c++
-D_BSD_SOURCE -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_GNU_SOURCE
-DQT_NO_STL -DQT_NO_CAST_TO_ASCII -D_REENTRANT
-DKDE_DEPRECATED_WARNINGS -DHAVE_CONFIG_H=1
-DKDE_DEFAULT_DEBUG_AREA=9504 -DMAKE_SUBLIME_LIB  -Wnon-virtual-dtor
-Wno-long-long -ansi -Wundef -Wcast-align -Wchar-subscripts -Wall -W
-Wpointer-arith -Wformat-security -fno-exceptions -fno-check-new
-fno-common -Woverloaded-virtual -fno-threadsafe-statics
-fvisibility=hidden -fvisibility-inlines-hidden -O2 -g -fPIC
-I/home/fretka/src/kdevplatform/build/sublime
-I/home/fretka/src/kdevplatform/sublime
-I/home/fretka/src/kdevplatform -I/home/fretka/src/kdevplatform/build
-I/usr/include/KDE -I/usr/include/QtDBus -I/usr/include/QtTest
-I/usr/include/QtUiTools -I/usr/include/QtScript -I/usr/include/QtSvg
-I/usr/include/QtXml -I/usr/include/QtSql -I/usr/include/QtOpenGL
-I/usr/include/QtNetwork -I/usr/include/QtDesigner
-I/usr/include/QtAssistant -I/usr/include/Qt3Support
-I/usr/include/QtGui -I/usr/include/QtCore -I/usr/include/Qt
-I/usr/share/qt4/mkspecs/default   -o
CMakeFiles/sublime.dir/container.o -c
/home/fretka/src/kdevplatform/sublime/container.cpp
/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


2008/8/22, Andreas Pakulat <apaku at gmx.de>:
> 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.
>
> _______________________________________________
> KDevelop-devel mailing list
> KDevelop-devel at kdevelop.org
> https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel
>




More information about the KDevelop-devel mailing list