Author Topic: Compiling with Qt 5.7  (Read 801 times)

Víctor R. Ruiz

  • Administrator
  • Jr. Member
  • *****
  • Posts: 91
    • View Profile
Compiling with Qt 5.7
« on: 2016-December-30 03:54:27 am »
Hi. Some have recently tried to compile Visualino with the latest version of Qt and it displays an error about webkitwidgets not being available. The problem is that Qt have deprecated QtWebKit in favor of QWebEngine, and the API has changed.

Anyway, I've been working this week on the port of the code from QWebView to QWebEngineView but there are some missing features and big API changes that need careful attention. For example, evaluateJavaScript has been replaced with runJavaScript, but doesn't return any value anymore. Some signals have also changed. The biggest problem, though, is that there is no direct replacement for addToJavaScriptWindowObject which was a bridge between JS and a Qt class and used to capture changes on the code by the GUI.

I'll put all this changes in a github branch as soon as possible.

Víctor R. Ruiz

  • Administrator
  • Jr. Member
  • *****
  • Posts: 91
    • View Profile
Re: Compiling with Qt 5.7
« Reply #1 on: 2016-December-30 02:21:36 pm »
This is the branch for the port to QtWebEngine https://github.com/vrruiz/visualino/tree/qtwebengine.