QDeclarativeEngine in a QThread
Greetings Qt enthusiasts,
I would like to "sandbox" the execution of a QML file.
Is it possible to run QDeclarativeEngine or QDeclarativeComponent inside a QThread.
Since those are GUI-related classes, they must run in the main thread.
You can try to use WorkerScript in your qml for heavy js calculations.
@mlong: What happens if my QML is only based on QObject(s) ?
@Denis: The idea is to be able to load any QML file without risking to crash the app. Just like HTML in the browser. I cannot force anyone to use WorkerScript in their QML.