[Development] Q_OBJECT and "override"

Olivier Goffart olivier at woboq.com
Mon Jun 8 10:01:34 CEST 2015


On Sunday 7. June 2015 21:04:51 Sergio Martins wrote:
> On Thursday, June 04, 2015 16:01:01 Aleix Pol wrote:
> > Is it really that much work? I hear there's tools to do so [1] and
> > it's the compiler telling whether it's correct or not.
> > 
> > Aleix
> 
> I've added Q_DECL_OVERRIDE to some kdepim libraries with clang-modernize and
> 5 minutes of my time.
> 
> I also tried it on qtbase but it didn't work though, it failed to find some
> Qt headers, looks like a bug in clang-modernize or the tool I used to build
> the compilation database (bear). Maybe someone else wants to give it a shot
> ?

I have already run clang-modernize on qt-base a few month ago to add 
Q_DECL_OVERRIDE.
(So Qt 5.5 has it almost everywhere)

-- 
Olivier 

Woboq - Qt services and support - http://woboq.com - http://code.woboq.org




More information about the Development mailing list