![]() Registered Member ![]()
|
Using example from api.kde.org :
return me this problem:
I have inculde to my project this files:
Searching for property Nepomuk::File in all files at folder include/nepomuk give no answer(. After this error i`ve tried another example:
But this way a get the next error:
I just need simple example to add meta tag to file, this need me at some interesting project, wich will made process of tag adding automate. I`am using: KDE 4.4.2 Kubuntu 10.04.1 QT 4.6 Qt Creator 2.0.0 P.S.: sorry about my English and low exp at KDE-dev, all my and my team have only exp at QT-devNepomuk tag to file adding error |
![]() Administrator ![]()
|
You need to add #include <nepomuk/file.h> to your list of includes.
You also need to adjust your build system to link to libnepomuk.so. If you are using CMake this can be accomplished by adding ${NEPOMUK_LIBRARIES} to your target_link_libraries statement in CMakeLists.txt assuming you already have find_package(KDE REQUIRED) in CMakeLists.txt
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered users: Bing [Bot], blue_bullet, Google [Bot], rockscient, Yahoo [Bot]