Navigation

    Qt Forum

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

    • UNSOLVED Qt 5.12.3 QtWebEngine + QWebPage + SSL: verify server cert on client side (picture inside)
      QtWebEngine • qtwebengine ssl server - client certificate qwebpage • • forca  

      2
      0
      Votes
      2
      Posts
      1196
      Views

      @forca maybe you need to do some additional steps From QSslSocket documentation: Describes the peer verification modes for QSslSocket. The default mode is AutoVerifyPeer, which selects an appropriate mode depending on the socket's QSocket::SslMode. QSslSocket::QueryPeer 1 QSslSocket will request a certificate from the peer, but does not require this certificate to be valid. This is useful when you want to display peer certificate details to the user without affecting the actual SSL handshake. This mode is the default for servers. Note: In Schannel this value acts the same as VerifyNone. And looking at this QWebEnginePage browser example, check the Downloading Favicons code snippet, which may help you accessing the underlying QSslSocket
    • SOLVED Override link QUrl parsing?
      Qt WebKit • qt 4.8 qurl qwebpage • • define-qt  

      9
      0
      Votes
      9
      Posts
      1889
      Views

      JS handler can be added via evaluateJavaScript, and Qt bridge used to provide actual handling via exported QObject I've considered adding API for C++ event hadlers, but that would require some development effort
    • UNSOLVED QWebPage LocalStorage Problem.
      General and Desktop • qwebpage localstorage • • ScottHong  

      1
      0
      Votes
      1
      Posts
      564
      Views

      No one has replied

    • UNSOLVED Running QWebPage in a QThread
      General and Desktop • qthread qwebpage • • yodusow bardon  

      2
      0
      Votes
      2
      Posts
      829
      Views

      It is not allowed to use UI related Qt classes in a different thread. They all must be used in the same thread in which the event loop is executed. Why do you want to use QWebPage in a different thread? As far as I know the UI of your application should not block while the web page is loaded.
    • UNSOLVED Is there any "HTML change" signal in QWebView?
      Qt WebKit • webkit qwebview signals & slots qwebpage webkitwidgets • • Eyeless  

      3
      0
      Votes
      3
      Posts
      1525
      Views

      @maximo the problem is that page`s url is not changing when song data changes. I solved the problem by checking song data using a timer and emiting my own signal.
    • Qwebkit links with .org do not work - SOLVED
      Qt WebKit • qt5.4 qwebkit qwebpage windows desktop • • UKBasedUser  

      4
      0
      Votes
      4
      Posts
      1774
      Views

      Solved from https://forum.qt.io/topic/17139/solved-how-to-use-ssl-support-without-manualy-building-qt-libraries/6 added CONFIG += openssl-linked copied from the QtSdk the (MingW) libeay32.dll and ssleay32.dll in the same folder as the executable
    • Web crawler app using QWebPage
      General and Desktop • qwebkit qwebpage web page web crawler • • jelicicm  

      16
      0
      Votes
      16
      Posts
      6531
      Views

      @jelicicm After some analysis I'm to unsure about the detailed working of it. However QXmlStreamReader can help you in extracting the links which you can probably use in your web crawler implemention as shown in that example. Also to implement something as simple as searching you can instead resort to QTextStream. Set the html content as byte array to it. The iterate over it, extract the line and check if the particular word exists in it using QString::contains.