How to send an argument to Javascript function using QScriptEngine
Please give me an example code
Thanks & Regards,
Mythili
How to send an argument to Javascript function using QScriptEngine
Please give me an example code
Thanks & Regards,
Mythili
I have a mathematical equation like 1+3+qSin(90)*4 as a string
I need to call js by passing this as an argument to a function
Function in js need to evaluate and return a value again to qt.
Thanks,
Mythili
Not bad for a second try
If you now also add the JavaScript snippet of the function that you want to call, at least its name, then people might be able to given you a code snippet back.
Unless you changed your mind and want an abstract answer for your abstract question.
Cheers,
_
Bookmarks