QJSEngine passinho argumentos to functions
-
Is it possible to pass and JavaScript c++ proxy qobject method back to to c++ as reference or value, i Just can pass when the c++ method recives a Pointer as aargument.
I try to register a meyatype converter but it as no efect in JavaScript enviroment.I Just can pass when a i create create a c++ classe with a method that returns *this as a datatype.
It was Nice to to catch the console log, like a connect signal instande of creating a custom object for that prupose.
My goal is to BE able to create a qsize or a qicon or other type of data with create new in JavaScript and pass to c++ as reference or value.
Tanks Ricardo Matos