import Qt 4.6 QtObject { Script { source: "test.js" function helloWorld() {} } }