I am embarking on some QtScript stuff and have some questions:
1) Can I include files? I seem to be able to use eval() however if I provide a function include(filename) {..} in the script I run into the problem that the functions will only be accessible from within the function and not added to the root context.
2) I am trying to use animations, and spefically QPropertyAnimation(item, property, parent) however my custom properties do not seem to work. I am using a JS-defined class, with properties as this.opacity, and passing "opacity" in the constructor. What does it take to have QPropertyAnimation be able to use JS-defined properties?
Thanks.
Bookmarks