<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Thu, Jan 2, 2014 at 12:31 AM, David Faure <span dir="ltr"><<a href="mailto:faure@kde.org" target="_blank">faure@kde.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div class="im">On Tuesday 31 December 2013 14:48:13 Aleix Pol wrote:<br>
</div><div class="im">> > -- Up-to-date:<br>
> > /d/kde/inst/kde_frameworks/include/KF5/kcoreaddons/kaboutdata.h<br>
> > -- Up-to-date:<br>
> > /d/kde/inst/kde_frameworks/include/KF5/KCoreAddons/KAboutData<br>
> ><br>
> > The email thread "RFC Rules for installation of header files" does say<br>
> ><br>
> > >>> If the header files of a framework are not prefixed, then they should<br>
> > >>> be installed in include/{lowercaseframework} and convenience headers<br>
> > >>> should be installed in include/KDE/{CamelCaseFramework}.<br>
<br>
</div>Actually, what's the reason for lowercaseframework there?<br>
<br>
I used that in all the modules I converted (except KIO, I just realized), and<br>
I'm wondering what the point is.<br>
<br>
Example:<br>
include/KF5/KIOCore/KFileItem<br>
include/KF5/KIOCore/kfileitem.h<br>
works fine with KIOCore in the include path, apps just include <KFileItem> or<br>
<kfileitem.h><br>
<br>
If I fix it to<br>
include/KF5/KIOCore/KFileItem<br>
include/KF5/kiocore/kfileitem.h [all lowercase]<br>
it will of course work too, with both dirs in the include path.<br>
<br>
It's all transparent for the apps either way, since the cmake magic<br>
encapsulates it for the them.<br>
<br>
I'm just wondering what's the point in using two different dirs for<br>
kfileitem.h and KFileItem?<br>
<div class=""><div class="h5"><br>
--<br>
David Faure, <a href="mailto:faure@kde.org">faure@kde.org</a>, <a href="http://www.davidfaure.fr" target="_blank">http://www.davidfaure.fr</a><br>
Working on KDE, in particular KDE Frameworks 5<br>
<br>
</div></div></blockquote></div><br></div><div class="gmail_extra">I did it like that because KParts works this way. Of course, it's not required on other modules.<br></div><div class="gmail_extra"><br></div><div class="gmail_extra">
Aleix</div></div>