Skip to content

[Question] Does this program kill the main window everytime that reload() function called? #2

@LinArcX

Description

@LinArcX

I see that every little change will cause the app to restart. is it right?
I also follow another idea to hot-reload qml files:
https://qml.guide/live-reloading-hot-reloading-qml/
He uses Loader component and clearComponentCache() function in c++ side to re-evalute qml files.
But i can't successfully run his sample app to see the actual behavior.
Imagine our app is very big and every time restart whole app isn't very efficient. so the ability to re-load some parts of a qml page would be very awesome.
Is there any way to do it via runtimeqml?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions