visualino icon indicating copy to clipboard operation
visualino copied to clipboard

Porting from Qt WebKit to Qt WebEngine

Open SebCanet opened this issue 8 years ago • 6 comments

Hi, after trying to reinstall QT (v5.7), I also decided to try to understand your Qt code but there's a version problem:

Qt WebEngine supercedes the Qt WebKit module, which is based on the WebKit project, but has not been actively synchronized with the upstream WebKit code since Qt 5.2 and has been deprecated in Qt 5.5. For tips on how to change a Qt WebKit widgets application to use Qt WebEngine widgets, see Porting from Qt WebKit to Qt WebEngine. For new applications, we recommend using Qt Quick and the WebEngineView QML type.

That's why I cannot compile your visualino... I wanted to help you and add some functionnality, like Arduino auto-detect, but I can't.

Hope you can solve it soon. Thanks !

SebCanet avatar Dec 13 '16 21:12 SebCanet

That would be great, Seb! I'll take a look as soon as possible to migrate to Qt 5.7.

vrruiz avatar Dec 13 '16 23:12 vrruiz

Weird. I'm developing on Ubuntu 16.10 using Qt 5.6 and there are no problems during the build regarding the QWebView.

vrruiz avatar Dec 13 '16 23:12 vrruiz

If you want to see how students crated their autodetetc of Arduino, it's all inside : https://github.com/technologiescollege/openorganigram/tree/master/src/Interface/LibSerialPort

I'll try again with Qt...

SebCanet avatar Jan 17 '17 00:01 SebCanet

Weeks ago, I created a branch with the ongoing work to port Qt WebKit to Qt WebEngine. The new API is not as good and complete, and found some problems along the way.

vrruiz avatar Jan 17 '17 01:01 vrruiz

Where is the code to autodetect Arduino in those files? Visualino detects the active serial ports, but not which of them are actually Arduino.

vrruiz avatar Jan 17 '17 01:01 vrruiz

In the different qextserialenumerator. It uses vendorID to verify if it's Arduino board.

SebCanet avatar Jan 17 '17 13:01 SebCanet