bunjee
28th December 2008, 01:34
Hey there,
I'm trying to achieve the following using QtScript:
test.prototype.createPage = function(factory)
{
test = factory.newPicture("box.png");
}
The newPicture interface is correctly binded and returns a qkPicture *.
The problem is, due to non typed variables, QtScript assumes he has to copy to content of the qkPicture.
Is there a way to emulate pointer behaviour and dereference test ?
Or a way to bypass non typed scripting syntax ?
Thanks.
Benjamin Arnaud.
I'm trying to achieve the following using QtScript:
test.prototype.createPage = function(factory)
{
test = factory.newPicture("box.png");
}
The newPicture interface is correctly binded and returns a qkPicture *.
The problem is, due to non typed variables, QtScript assumes he has to copy to content of the qkPicture.
Is there a way to emulate pointer behaviour and dereference test ?
Or a way to bypass non typed scripting syntax ?
Thanks.
Benjamin Arnaud.