Sign in
third-party-mirror
/
orbit
/
refs/heads/master
/
.
/
qt-everywhere-src-5.15.1
/
qtdeclarative
/
tests
/
auto
/
qml
/
qmlcachegen
/
data
/
worker.qml
blob: 1f1c9d1ac7341fc1f0fe5de926d68d05f16b2221 [
file
] [
log
] [
blame
]
import
QtQml
2.0
import
QtQuick
2.0
QtObject
{
property
bool
success
:
false
property
WorkerScript
worker
:
WorkerScript
{
source
:
"worker.js"
onMessage
:
{
success
=
true
}
}
Component
.
onCompleted
:
worker
.
sendMessage
(
"Hello"
)
}