[Qtwebengine] Uncaught TypeError: channel.execCallbacks[message.id] is not a function

Milian Wolff milian.wolff at kdab.com
Wed Apr 22 20:46:13 CEST 2020


On Mittwoch, 22. April 2020 17:30:46 CEST Goldberg, Ilya (DWFN) wrote:
> Hi All,
> We are migrating from Qt5.5 to Qt5.12.8 on CentOS 7, 64bit x86 processor.
> 
> Qt main application is working. Our webpage is based on JavaScript, running
> on Apache-Tomcat. It is using channel back to the main application (using
> qtwebchannel.js) as we need to know when user wants to return from the
> webpage into our main app. The webpage works fine under Qt5.5.
> After upgrading to Qt5.12.8 found that the webpage is broken (all elements
> are in wrong places and it does not work as expected). In the log file
> found multiple messages: "Uncaught TypeError:
> channel.execCallbacks[message.id] is not a function".
> 
> Did anyone experienced similar error messages?
> Any clue on fixing it?

I haven't seen this, can you please try the latest qtwebchannel code from the 
5.14 branch? Afaik it should be compatible with 5.12.

Cheers

-- 
Milian Wolff | milian.wolff at kdab.com | Senior Software Engineer
KDAB (Deutschland) GmbH, a KDAB Group company
Tel: +49-30-521325470
KDAB - The Qt, C++ and OpenGL Experts
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3826 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/qtwebengine/attachments/20200422/9be28717/attachment.bin>


More information about the QtWebEngine mailing list