On 26.06.2012 23:17, Olivier Goffart wrote:
>
> I'm not sure the class name is that important.
> I mean, if Foo().metaObject()->className() is just "Foo" it is still ok.
> Because it is hard to support, and hardly usefull.
OK, I thought className() is used by qobject_cast, but it isn't,
so it's m
On Tuesday 26 June 2012 20:07:54 Peter Kümmel wrote:
> On 22.06.2012 09:26, Olivier Goffart wrote:
> > Nice stuff. Now you just need to make it for Qt5, and handle all the
> > special cases :-)
> >
> > There is a room for tests in tets/auto/tools/moc (I'm saying that because
> > you made your test
On 22.06.2012 09:26, Olivier Goffart wrote:
>
> Nice stuff. Now you just need to make it for Qt5, and handle all the special
> cases :-)
>
> There is a room for tests in tets/auto/tools/moc (I'm saying that because you
> made your test somewhere else)
>
OK, ported to Qt5 now:
https://qt.gitorious.
On Wednesday 20 June 2012 20:42:19 Peter Kümmel wrote:
> After the "noise" here "real" code:
>
> https://qt.gitorious.org/~syntheticpp/qt/qt4/commit/c1b839494d90e8c1a93b0dd2
> e08a2a365095d89f
>
> Based on Qt 4.8.2.
> moc creates a header when it finds a template, if not then nothing changes.
> (
After the "noise" here "real" code:
https://qt.gitorious.org/~syntheticpp/qt/qt4/commit/c1b839494d90e8c1a93b0dd2e08a2a365095d89f
Based on Qt 4.8.2.
moc creates a header when it finds a template, if not then nothing changes.
(It builds Qt with the patch, but it's a hack in the parser)
In summary