1

Topic: QWebChannel: qt is not defined, Well I do not see in a network of decisions :(

//we Create the channel
QWebChannel* webChannel = new QWebChannel (this-> getPage (webViewSign));
//the object Is loggable in it
webChannel-> registerObject (pluginSign, this-> getPlugin (pluginSign));

Further:

//Such channel is - is fastened it
this-> m_page-> setWebChannel (this-> m_page-> getContext ()-> getWebChannel (value));

m_page -  the eggs only redefined for the project
On server page:

<script src = "qrc:///qtwebchannel/qwebchannel.js"> </script>

Further:

$(document).ready (function () {
var MAIL;
new QWebChannel (qt.webChannelTransport, function (channel)
{
MAIL = channel.objects. MAIL;
});

Result: Uncaught ReferenceError: qt is not defined"
Where to search for an error?

2

Re: QWebChannel: qt is not defined, Well I do not see in a network of decisions :(

BlackGnome wrote:

Where to search for an error?

In server page.
Here you do: new QWebChannel ( qt .webChannelTransport
And what such given qt? Where it is defined?
The moderator: the Subject is transferred from a forum "a C ++".