QDeclarativeEngine in a QThread
QML and Qt Quick
4
Posts
3
Posters
2.4k
Views
1
Watching
-
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.
The goal is to prevent my program to freeze if a malicious javascript infinite loop is executed.
Thanks.
B.A.
-
You can try to use WorkerScript in your qml for heavy js calculations.
-