Does anyone know if I can pass a parameter by reference in QtScript? For example,
Code:
var nTimeOut = 0; app.getTimeOut(nTimeOut); if (nTimeOut > 0) { ... }
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.