[Automotive] QmlLive: Is LiveNodeEngine::RecreateView mode really needed?

Dominik Holland dominik.holland at pelagicore.com
Mon Aug 8 09:55:46 CEST 2016


Hi,

Am 08.08.16 um 08:14 schrieb Martin Kampas:
> BUMP.. no idea? :)
> 
> ------------------------------------------------------------------------
> *Sent:* Friday, August 05, 2016 6:57 AM
> *To:* automotive at qt-project.org
> *Subject:* [Automotive] QmlLive: Is LiveNodeEngine::RecreateView mode
> really needed?
> 
> Hi,
> 
> What was the issue with just ReloadDocument that led you to introduce
> RecreateView? Destroying the root object can left the view in a messy state?

i wouldn't call it a messy state. But if i remember correctly, there
were some issues with just reloading the document. The components
imported through qml modules are cached and by Recreating the view, the
engine will be destroyed and you can make sure that really everything is
recreated.

I'm not sure whether this is still the case in 5.7, i think we
introduced the option with 5.1

Dominik

> 
> BR,
> Martin
> 
> 
> _______________________________________________
> Automotive mailing list
> Automotive at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/automotive
> 


More information about the Automotive mailing list