[Development] Some Qt3D feedback

Sean Harmer sean.harmer at kdab.com
Tue Jun 9 11:01:51 CEST 2015


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

https://codereview.qt-project.org/#/c/113952/
 
> > 3) The cmake unit tests don't pass.
> > 
> > It is easily fixable, but does this mean that the cmake tests are not run
> > for this module? That is concerning.
> > 
> > Are unit tests run for this module in CI at all?
> 
> Hmm I thought they were, but obviously not. I'm looking at making the test
> work now.

Partial fix at

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 note that the cmake tests for other modules pass with 
namespaced Qt builds but I guess that may be using a different mechanism.

Cheers,

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