take a QString as identifier in QWebFrame::addToJSWindowObject.