How to use QThread in ECMAScript code?
Posted: Tue Aug 14, 2018 1:25 pm
Hello.
I want to set a new thread to compute. Because compute costs a lot of time so I want to set a new thread. But when I use
var thread = new QThread();
The console tell me that "Can't find variable: QThread".
How should I do to realize it?
Thank you very much.
fang_h_y
I want to set a new thread to compute. Because compute costs a lot of time so I want to set a new thread. But when I use
var thread = new QThread();
The console tell me that "Can't find variable: QThread".
How should I do to realize it?
Thank you very much.
fang_h_y