Problem in using dmetadata.h for solving bug[193874]

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Problem in using dmetadata.h for solving bug[193874]

Smit Mehta
Hi

I have almost solved the bug for 193847. However, I am trying to take care of XMP sidecar files (bug [220545]). For doing that, i need to include dmetadata.h in timeadjustdialog.cpp , which is giving an error on making, that "dmetadata.h" : no such file or directory. I tried including it by modifying CMakeLists.txt of it, but then it doesnt count the dependencies of dmetadata itself. I dont have much knowledge on using CMAKE to make dmetadata.h work in this. Can anyone help me?

--
Smit Mehta
II year, B.Tech
Computer Science and Engineering
IIT Madras
+91-9884996531

_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

Re: Problem in using dmetadata.h for solving bug[193874]

Gilles Caulier-4
use KPMetadata class from libkipiplugins. DMetadata come from digiKam
core. Kipi-plugins is undependant of digiKam...

#include <kpmetadata.h>

For details, look all classes from kipi-plugins/common/libkipiplugins

Gilles Caulier

2012/3/19 smit <[hidden email]>:

> Hi
>
> I have almost solved the bug for 193847. However, I am trying to take care
> of XMP sidecar files (bug [220545]). For doing that, i need to include
> dmetadata.h in timeadjustdialog.cpp , which is giving an error on making,
> that "dmetadata.h" : no such file or directory. I tried including it by
> modifying CMakeLists.txt of it, but then it doesnt count the dependencies of
> dmetadata itself. I dont have much knowledge on using CMAKE to make
> dmetadata.h work in this. Can anyone help me?
>
> --
> Smit Mehta
> II year, B.Tech
> Computer Science and Engineering
> IIT Madras
> +91-9884996531
>
> _______________________________________________
> Digikam-devel mailing list
> [hidden email]
> https://mail.kde.org/mailman/listinfo/digikam-devel
>
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

Re: Problem in using dmetadata.h for solving bug[193874]

Gilles Caulier-4
also, don't forget to pass KIPI::Interface instance to your KPMetadata
contructor, to take a care about digiKam metadata settings, especially
the way to handle XMP sidecar file. It's automatic... Look code for
details.

Gilles Caulier

2012/3/19 Gilles Caulier <[hidden email]>:

> use KPMetadata class from libkipiplugins. DMetadata come from digiKam
> core. Kipi-plugins is undependant of digiKam...
>
> #include <kpmetadata.h>
>
> For details, look all classes from kipi-plugins/common/libkipiplugins
>
> Gilles Caulier
>
> 2012/3/19 smit <[hidden email]>:
>> Hi
>>
>> I have almost solved the bug for 193847. However, I am trying to take care
>> of XMP sidecar files (bug [220545]). For doing that, i need to include
>> dmetadata.h in timeadjustdialog.cpp , which is giving an error on making,
>> that "dmetadata.h" : no such file or directory. I tried including it by
>> modifying CMakeLists.txt of it, but then it doesnt count the dependencies of
>> dmetadata itself. I dont have much knowledge on using CMAKE to make
>> dmetadata.h work in this. Can anyone help me?
>>
>> --
>> Smit Mehta
>> II year, B.Tech
>> Computer Science and Engineering
>> IIT Madras
>> +91-9884996531
>>
>> _______________________________________________
>> Digikam-devel mailing list
>> [hidden email]
>> https://mail.kde.org/mailman/listinfo/digikam-devel
>>
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel