From kde-devel Tue Apr 01 23:51:29 2014 From: Roney Gomes Date: Tue, 01 Apr 2014 23:51:29 +0000 To: kde-devel Subject: Re: Trying to use KJSEmbed but facing kjsembed/kjsembed.h: No such file or directory Message-Id: X-MARC-Message: https://marc.info/?l=kde-devel&m=139639636903898 On Tue, Apr 1, 2014 at 7:47 PM, Ahmed I. Khalil wrote: > Hello, > I am trying to use KJSEmbed::Engine in a library that I am writing. My > CMakeLists.txt links with the ${KDE4_KJS_LIBS} and also contains > include_directories( ${KDE4_INCLUDES} ). > > AFAIK the ${KDE4_INCLUDES} contains all include directories required for > KDE (as stated in FindKDE4Internal.cmake) . But I don't know why the > compiler can't find kjsembed.h file. How did you install the KJS libs? Depending on their location you'll may need to set CMAKE_INCLUDE_PATH or CMAKE_PREFIX_PATH. > Here is the full CMakeLists.txt file : > > http://pastebin.kde.org/ppankpyj0 A paste of cmake's output would also help. -- Roney >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<