QEdje scriptengine cannot be built + PATCH

Alexander Neundorf neundorf at kde.org
Wed Dec 31 16:09:45 CET 2008


On Wednesday 31 December 2008, Joseph Wenninger wrote:
> Hi!
>
> I've got build errors with qedje, although aI have eet,qzion and qedje
> installed. The problem is, the script engine does not find the qzion.h
> file.
>
> In file included
> from
> /home/jowenn/development/kde/svn/kdebase/workspace/plasma/scriptengines/qed
>jescript/qedje_applet.cpp:6:
> /home/jowenn/development/kde/svn/kdebase/workspace/plasma/scriptengines/qed
>jescript/qedje_applet.h:7:19: error: qzion.h: Datei oder Verzeichnis nicht
> gefunden
> /home/jowenn/development/kde/svn/kdebase/workspace/plasma/scriptengines/qed
>jescript/qedje_applet.h:8:19: error: qedje.h: Datei oder Verzeichnis nicht
> gefunden
>
> My CMakeCache.txt file has:
> PC_QEdje_STATIC_INCLUDE_DIRS:INTERNAL=/home/jowenn/fromsources/qzion/includ
>e;/home/jowenn/fromsources/qedje/include
>
>
>
> The attached patch fixes the compile problem for me.
> It results in following line in CMakeCache.txt, which contains all needed
> include directories
> PC_QEdje_INCLUDE_DIRS:INTERNAL=/home/jowenn/fromsources/qzion/include;/home
>/jowenn/fromsources/eet/include;/home/jowenn/fromsources/qedje/include
>
>
> and forces the usage of this variable for the include directories in the
> CMakeLists.txt

Please use the results from pkg-config as HINTS for FIND_PATH() when searching 
for the required headers, see kdelibs/cmake/modules/FindLibXml2.cmake as 
example.
And it would be nice if it also works successfully on regular installations 
without pkg-config.

Alex


More information about the Kde-buildsystem mailing list