import "qtbug_22843.library.js" as MyScript
import QtQuick 2.0
QtObject {
Component.onCompleted: MyScript.func()
}