Qt 6.11 is out! See what's new in the release
blog
WorkerScript doesn't support importScripts()?
QML and Qt Quick
6
Posts
2
Posters
4.0k
Views
1
Watching
-
How to include javascript files in worker file?
-
you can always use js in your code or import from another file http://doc.qt.nokia.com/4.7-snapshot/qdeclarativejavascript.html
-
But that would block the main thread. :(
-
not bad to take a look at http://developer.qt.nokia.com/wiki/JavaScript_programmer
-
en...
For import in qml file, I have to give a namespace to each .js file.
But, all of js files should be modify for fit such architecture.
The workload may be very big~~~~