Does anyone know if I can pass a parameter by reference in QtScript? For example,
Qt Code:
var nTimeOut = 0; app.getTimeOut(nTimeOut); if (nTimeOut > 0) { ... }To copy to clipboard, switch view to plain text mode
here app is an c++ object that I exposed to Qt script environment and I am trying to change the value of nTimeOut in the c++ side and want to catch the changed value from the script side.
Thank you in advance.
Bookmarks