Navigation

    Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    1. Home
    2. Tags
    3. qwebenginepage
    Log in to post

    • SOLVED Unable to load HTTPS url using QWebEngineView
      General and Desktop • qwebengineview qwebengine https qwebenginepage ssl error • • Ryna  

      5
      1
      Votes
      5
      Posts
      463
      Views

      https://stackoverflow.com/questions/58875159/how-to-ignore-ssl-certificate-errors-with-qwebengineview link helped me to resolve the issue. Now HTTPS page load after ignoring ssl warning is fine. Thanks for ideas :)
    • UNSOLVED Does QWebEnginePage::load() start a new event loop internally or it just calls processEvents() ?
      QtWebEngine • qeventloop qwebenginepage • • comy  

      4
      1
      Votes
      4
      Posts
      150
      Views

      @comy said in Does QWebEnginePage::load() start a new event loop internally or it just calls processEvents() ?: @JonB Starting a new local event loop is done by executing QEventLoop::exec(). Oh I see, just QEventLoop::exec(). Yes, I had tried that. According to me it made no difference, and deleteLater()s of QWebEngine stuff still didn't free till execution got back to my top-level Qt event loop. Didn't understand why, your mileage may vary :)
    • UNSOLVED Profile corruption when using QWebEnginePage together with WebEngineView
      QtWebEngine • webengineview chromium qwebenginepage corruption • • BogdanV  

      1
      0
      Votes
      1
      Posts
      91
      Views

      No one has replied

    • SOLVED How can I use a function from an external/custom .js file with QWebEngineView?
      General and Desktop • javascript qwebengineview qrc qwebenginepage html5 • • Slyzer  

      4
      0
      Votes
      4
      Posts
      446
      Views

      Ok so I managed to import the html by modeling my code similar to the example with: QString code = QStringLiteral("qt.jQuery('#first_page').load('html/first_page.html');"); //you can even nest it with: QString code = QStringLiteral( "qt.jQuery('#first_page').load('html/first_page.html', ()=>{" "qt.jQuery('#border_content').load('html/border_content.html', ()=>{" //some other html "qt.jQuery('#last_page').load('html/last_page.html');" "});" "});" ); unfortunately I now cannot use the qwebchannel.js script anymore and my css gets screwed :( even loading it with: QFile script_file(":/qtwebchannel/qwebchannel.js"); if(!script_file.open(QIODevice::ReadOnly)) qDebug()<<"Couldn't load Qt's QWebChannel API!"; QString qt_script = QString::fromLatin1(script_file.readAll()); script_file.close(); view->page()->runJavaScript(qt_script); did not help. Since it is a small project and I am on a short deadline right now I will put everything in one html file and mark this question als solved.
    • SOLVED QWebEnginePage::printToPdf() - how to allow it to proceed
      QtWebEngine • qwebenginepage printtopdf • • JonB  

      1
      1
      Votes
      1
      Posts
      1611
      Views

      No one has replied

    • SOLVED How to kill page when it's window is closed?
      QtWebEngine • qtwebengine qwebengine qwebenginepage • • Daniil Kolesnichenko  

      3
      0
      Votes
      3
      Posts
      1043
      Views

      @mpergand you are right, this line solved the problem. Thank you very much!
    • UNSOLVED QWebEngine DemoBrowser retrieve cookies and current URL
      General and Desktop • qwebengineview qwebengine qwebenginepage cookies • • Maxx Dovahkiin  

      1
      0
      Votes
      1
      Posts
      1966
      Views

      No one has replied

    • UNSOLVED Migration from QWebPage to QWebEnginePage, problem with createplugin
      QtWebEngine • qwebengine qwebenginepage createplugin x-qt-plugin • • n.br  

      1
      0
      Votes
      1
      Posts
      528
      Views

      No one has replied