Since sqlfunctions
inherits from QObject
, you can pass a sqlfunctions*
to a function expecting a QObject*
:
frame->addToJavaScriptWindowObject(objJavascriptName, &obj);
1
solved Qt: Expose any C++ object to Javascript
Since sqlfunctions
inherits from QObject
, you can pass a sqlfunctions*
to a function expecting a QObject*
:
frame->addToJavaScriptWindowObject(objJavascriptName, &obj);
1
solved Qt: Expose any C++ object to Javascript