[kde-edu]: Re: git conversion

Niko Sams niko.sams at gmail.com
Tue Dec 21 20:45:33 CET 2010

On Tue, Dec 21, 2010 at 20:01, Jeremy Whiting <jpwhiting at kde.org> wrote:
> On Tue, Dec 21, 2010 at 12:57 AM, Niko Sams <niko.sams at gmail.com> wrote:
>> On Mon, Dec 20, 2010 at 22:17, Jeremy Whiting <jpwhiting at kde.org> wrote:
>> > Niko,
>> >
>> > How would one build the sources checked out from the above repositories?
>> > Kanagram for example fails to configure because it's CMakeLists.txt
>> > don't
>> > have anything about KDE4 so kde4_add_app_icon is not defined.  Is there
>> > going to be some temporary CMakeList.txt we can place in a global kdeedu
>> > folder until we can fix our CMakeList.txt files to build independently?
>> >
>> If the project is not yet standalone buildable, the CMakeLists.txt inside
>> the
>> project has to be modified, eg find_package(KDE4 REQUIRED) has to be
>> added.
>> For some projects this is already the case (eg. marble)
> Hmm, I must be doing something wrong, adding that (find_package(KDE4
> REQUIRED) to kanagram/CMakeList.txt) fixes the one error but gives a long
> log of errors about finding QtCore and such...
hm, you need a bit more:

find_package(KDE4 REQUIRED)
include_directories (${CMAKE_SOURCE_DIR} ${CMAKE_BINARY_DIR} ${KDE4_INCLUDES})

But it still won't compile as libkdedu is not found (obviously)


More information about the kde-edu mailing list