1 2 3 4 5 6
import "qtbug_22843.js" as MyScript import QtQuick 2.0 QtObject { Component.onCompleted: MyScript.func() }