[Webkit-unassigned] [Bug 104540] [Qt] JS bridge does not transmit QVariants anymore in Qt5

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Dec 10 07:23:02 PST 2012


https://bugs.webkit.org/show_bug.cgi?id=104540





--- Comment #2 from bugzilla at kaffeeschluerfer.com  2012-12-10 07:25:27 PST ---
The error "Trying to construct..." is only shown when you start the sample program from within Visual Studio. If you start the program normally, just nothing happens (at first glance, nothing is shown, but internally nothing works). To make the error obvious in everycase just add the following line to the C++ slot:

void JavaScriptConnection::slotQVariant(QVariant dataString)
{
    QVariantMap myVMap = dataString.toMap(); //added, to make the changed behaviour obvious
    //....
}

With this line added (this is what works in Qt 4.7 and Qt 4.8, but no longer in Qt 5) you can see an error if you start the program from outside Visual Studio, too.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list