1 2 3 4 5 6 7
import QtQml 2.0 import "script.mjs" as Script QtObject { property bool ok: Script.ok() property var okFunc: Script.ok }