Hi,

I'm using Kubuntu 11.10 with KDE 4.8. I've got the libqt4-devel,
kdelibs5-devel, kdesdk packages installed. I'm new to KDE development in
c++ (I've done stuff in pykde)
I'm trying to compile the Tutorial 1 for Solid from kdeexamples (code
pasted here : http://paste.kde.org/429152/ (tutorial1.cpp) and
http://paste.kde.org/429158/ (CMakeFiles.txt) )

While running cmake in the tutorial1 folder I get this error :

CMake Error at CMakeLists.txt:6 (kde4_add_executable):
  Unknown CMake command "kde4_add_executable".

If I replace kde4_add_executable with add_executable then cmake works..

On running make, I now get this error:

[100%] Building CXX object CMakeFiles/tutorial1.dir/tutorial1.o
/home/anant/kdeexamples/solid/tutorial1/tutorial1.cpp:21:28: fatal error:
QCoreApplication: No such file or directory


Other basic Qt c++ programs work well .. I've also tried
http://techbase.kde.org/Development/Tutorials/First_program which works

Any ideas on what I may may be missing?

Thanks,
Anant Kamath
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

Reply via email to