Quantcast
Channel: Qt DevNet forums: Qt Quick 1283365070**
Viewing all articles
Browse latest Browse all 4972

Multithreading and QML

$
0
0
Hi, I started a qml-based Application. It does some expensive calculation inside a separate QThread and emits a signal to QML in order to update a ProgressBar. However, setting the new ProgressBar value results in a segmentation fault and the debug info: “Invalid parameter passed to C runtime function. ASSERT: “engine->jsStackTop >= mark” in file ..\..\include\QtQml\5.2.0\QtQml/private/../../../../../src/qml/jsruntime/qv4scopedvalue_p.h, line 74” I am pretty sure there is no mistake in my code. ;) So it just seems as if QML is not ready for this kind of multi-threading. Do you have any ideas or experience with multithreading and QML?

Viewing all articles
Browse latest Browse all 4972

Trending Articles