What are the plans with CamelCase includes?

Aleix Pol aleixpol at kde.org
Tue Dec 24 12:29:16 UTC 2013


On Tue, Dec 24, 2013 at 12:14 PM, Alex Merry <kde at randomguy3.me.uk> wrote:

> On 24/12/13 07:38, Friedrich W. H. Kossebau wrote:
> > Hi,
> >
> > what are the plans with offering CamelCase includes in KF5 (e.g. #include
> > <KLocale>)? On a quick search could not find anything mentioned
> somewhere.
> >
> > If I saw correctly, then currently CamelCase includes (for existing
> > classes) are only available by KF5::KDE4Support, due to being the module
> > which has those files and also installs them. Also the KF5/KDE seems
> > somehow (not yet found out how) only added to the include dirs by listing
> > that module in target_link_libraries.
> >
> > Is that also the long-term plan? (I hope not, because I like the
> CamelCase
> > includes, and other people who use Qt with CamelCase includes, as
> offered,
> > and want to use some KF5 modules would welcome to have them, too).
> >
> > Would be willing to help out with this.
>
> There were plans to auto-generate them.  I'm not sure what happened with
> that.
>
> Alex
>
> _______________________________________________
> Kde-frameworks-devel mailing list
> Kde-frameworks-devel at kde.org
> https://mail.kde.org/mailman/listinfo/kde-frameworks-devel
>

We need to use ecm_generate_headers on every module.

I'll try to take some time after the 26th to do it. If somebody wants to do
it meanwhile, please do and I'll review it.

Aleix
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20131224/2f6fc761/attachment.html>


More information about the Kde-frameworks-devel mailing list