Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Shifting my web browser from QtWebKit to QtWebEngine?



  • Hello,

    I was just reading about QtWebEngine and it sure looks nice. I would really like my web browser to use all those cool chromium technologies! The only problem is that it relies on QtWebKit and QWebView. I would like to port to QWebEngine when its out, but I don't want to break half my application in the process. How hard will it be to port to the QWebEngine? Can I just rename a few things or will I have to re-do much of my project? Is it worth my time to port it?

    Thanks!


  • Moderators

    Hi,

    I don't know what is needed, but this should provide a good starting point: http://qt-project.org/wiki/QtWebEnginePortingFromQtWebKit



  • Yeah I saw that link. I'm just wondering if all the QWebView methods and stuff will be ported over to QWebEngine. Much of my application relies on the signals and slots QWebView has to offer and I would hate to lose that functionality. I've also heard the QWebEngine will not support Android or iOS. Is this true? I'm interested in porting my application to those platforms in the future, so this may be a deal breaker.

    Thanks for your help!


  • Moderators

    Qt WebKit does not run on Android or iOS.

    There are plans to port Qt WebEngine to Android: https://www.kdab.com/qt-on-android-episode-1/

    However, it will never happen on iOS, because Apple forbids 3rd-party web engines.


Log in to reply