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

How to subclass QWebView qml plugin?



  • I want to subclass the class behind the qml component WebView but I don't know what it is. Certainly it's not QWebView class because their properties are not the same. I want to use the WebView in a desktop app but need some modification like: disable right click, open link in the system default browser, etc. Could someone enlighten the way to do it for me?



  • @
    WebView: public QGraphicsWebView
    {
    //...
    };
    @


Log in to reply