[Interest] [Qt3D] Logic aspect hangs on exit
Sean Harmer
sean.harmer at kdab.com
Thu Dec 17 10:49:11 CET 2015
On Thursday 17 Dec 2015 11:37:49 Nye wrote:
> Hello,
> It (most probably) is a problem with my code. I've created two aspect
> engines (this is in a widget and I have two instances). I suppose having
> two aspect engines is not allowed? I've done it this way, because the
> aspect engine handles a single surface/window. Interestingly, it happens
> only with the logic aspect. On a related note, what would be the proper way
> to use two gl windows with Qt3D?
At present it is indeed to make two QAspectEngines as you are doing. This is
something I'm looking into at the moment as it happens - well more generally
what top level integration points do we need to support for the initial
version.
If you have specific use cases, I'd be interested to hear what they are.
Cheers,
Sean
>
> Kind regards.
>
> On Thu, Dec 17, 2015 at 10:52 AM, Sean Harmer <sean.harmer at kdab.com> wrote:
> > Hi,
> >
> > Can you file a bugreport with a small test case for this please? This was
> > certainly working in the cases I tested. Perhaps there's a regression we
> > need
> > to fix.
> >
> > Thanks,
> >
> > Sean
> >
> > On Thursday 17 Dec 2015 09:51:51 Nye wrote:
> > > Hello,
> > > It seems for some reason that adding a logic aspect to the aspect engine
> > > causes the application to "hang" on exit. My guess is that for some
> >
> > reason
> >
> > > the shutdown sequence is not executing properly and the threads in the
> >
> > pool
> >
> > > are left in waiting. Is there currently a workaround for that (i.e. can
> > > I
> > > manually shutdown the aspect engine)? I'm creating the aspect engine on
> >
> > the
> >
> > > stack, maybe this is an issue?
> > > I'm developing on Debian stretch with 4.2 kernel, if that helps. Qt3D is
> > > compiled from the most recent source available in the git repository for
> > > the 5.6 branch.
> > >
> > > Kind regards.
> >
> > --
> > 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
--
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 Interest
mailing list