[Qt-interest] [Advanced] Qt Script access QObject from C++ code
Benjamin Arnaud
benjamin.arnaud at voxler.fr
Wed May 20 12:39:29 CEST 2009
Hey guys,
I'm using the Qt script bindings from Qt Labs.
I'm writing the following lines in my script :
Qt Code:
function main() {}
main.prototype.createPage = function()
{
box = new QWidget; // I need that QWidget pointer in my C++ code
}
I'm calling this function from C++ code.
Afterward, I need to gather all references to Qt Objects.
How can I do that ?
Thanks.
Benjamin Arnaud.
More information about the Qt-interest-old
mailing list