Kdelibs Coding Style vs. preparations for Qt5
Kevin Ottens
ervin at kde.org
Sun Dec 30 07:27:52 GMT 2012
On Saturday 29 December 2012 21:56:41 Thiago Macieira wrote:
> On domingo, 30 de dezembro de 2012 00.48.01, Stephen Kelly wrote:
> > >> Out of curiosity, is it something which got documented in the Qt
> > >> project?
> > >> Or that's more a custom? (doesn't make it less valid, I'm being curious
> > >> here and couldn't find the info)
> > >
> > > syncqt complains if public headers have Qt includes that aren't in the
> > > <QtModule/ClassName> or <QtModule/classname.h> form.
> >
> > syncqt is a Qt-internal tool. It is relevant to the headers of Qt itself,
> > but not relevant outside it.
>
> True, but it's relevant to the discussion.
>
> The discussion is about making KF5 coding style as close as possible to
> Qt's, potentially to permit the codebase to be imported into Qt as an addon
> later. If the codebase is imported into Qt, it will be built with Qt's
> buildsystem (whatever that is at that time). Right now, that includes a
> syncqt step.
Note that wasn't even on my radar.
> Even if the code isn't imported into Qt and is never subject to syncqt, the
> question still was whether that was documented. It isn't documented in a
> wiki, but it is effectively documented by having syncqt spew warnings.
Thanks, indeed that's what I was after.
Regards.
--
Kévin Ottens, http://ervin.ipsquad.net
KDAB - proud patron of KDE, http://www.kdab.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20121230/d8b94e31/attachment.sig>
More information about the kde-core-devel
mailing list