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

QWebView warning - "QPainter::end: Painter ended with 2 saved states"



  • Hey guys,

    I use a lot of QWebView inside my app, I know they are gonna get deprecated soon for QWebEngine new module, but until 5.4 or 5.5 i'm not gonna switch yet. (testing the RC at the moment and I'm missing a few functions I need like addToJavascript(), cookies management, etc.)

    Currently working fine with QWebView, I only get a few warning I couldn't fix and would like to know if someone know what may cause that :
    "Screenshot here":https://www.dropbox.com/s/o6o7p5bzhiuwwxn/modalPopUpQWebView.png?dl=0
    Basically just a button in a webPage that pop a modal bootstrap dialog, I get 9*times this message when I open the modal "QPainter::end: Painter ended with 2 saved states" and another 9times when I click "close"

    Update :
    I'm thinking it may have to do with QWebView not supporting all css animation, "source":http://stackoverflow.com/questions/21104846/bootstrap-2-modal-animation-delay
    will investigate a little

    Thanks Qt!
    Max


Log in to reply