[Development] Some Qt3D feedback

Sean Harmer sean.harmer at kdab.com
Wed Jun 10 15:57:29 CEST 2015


On Tuesday 09 Jun 2015 13:09:50 Stephen Kelly wrote:
> On Tue, Jun 9, 2015 at 11:01 AM, Sean Harmer <sean.harmer at kdab.com> wrote:
> > On Monday 08 Jun 2015 14:18:33 Sean Harmer wrote:
> >> On Monday 08 Jun 2015 01:11:23 Stephen Kelly wrote:
> >> > 2) A private header is included in a public header:
> >> >  include/Qt3DCore$ grep private/ *.h
> >> >  qaspectjobmanager.h:#include <Qt3DCore/private/qt3dcore_global_p.h>
> >> > 
> >> > This is concerning - Don't we have a unit test preventing that?
> >> 
> >> I can't find that. Is that from the 5.5 branch?
> > 
> > Aha, found it thanks to the cmake unit test ;) Fix at
> 
> Yep, that's how I found it too. I'm confused that the grep I pasted
> did not lead you to it though. The grep shows it to me on 5.5, 5.5.0
> and dev branches. Maybe you didn't know the directory to run the grep
> in? But even then, the filename should be enough to lead you to the
> private/ include...
> 
> Anyway, good you found it.

I'll chalk that one up to lack of sleep on my part.

> 
> > https://codereview.qt-project.org/#/c/113953/
> > 
> > It's failing due to the use of namespace in Qt3D. Does the cmake unit test
> > infrastructure support namespaces? Any hints on how to fix or to add
> > support for namespaces.
> 
> I just commented on the review. For reference, you need to set a
> ${ClassName}_NAMESPACE variable to the namespace to use for a class
> under test.

Thanks, that worked a treat!

Sean
-- 
Dr Sean Harmer | sean.harmer at kdab.com | Managing Director UK
KDAB (UK) Ltd, a KDAB Group company
Tel. +44 (0)1625 809908; Sweden (HQ) +46-563-540090
Mobile: +44 (0)7545 140604
KDAB - Qt Experts



More information about the Development mailing list