Skip to content

Qt WebKit

Questions about Qt WebKit and related topics? Post here!
1.5k Topics 5.9k Posts
  • [qwebview-python] lagging when play video

    Unsolved
    3
    0 Votes
    3 Posts
    975 Views
    K
    Use QGraphicsWebView with QOpenGLWidget viewport
  • 0 Votes
    1 Posts
    816 Views
    No one has replied
  • Override link QUrl parsing?

    Solved qurl qt 4.8 qwebpage
    9
    0 Votes
    9 Posts
    3k Views
    K
    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
  • Test browser for Qt WebKit 5.4

    Solved
    5
    0 Votes
    5 Posts
    2k Views
    Z
    How you resolved the issue ? Facing similar problem. Thanking in anticipation!
  • How to resize browser and fancy browser example widget window size

    Unsolved
    2
    0 Votes
    2 Posts
    892 Views
    SGaistS
    Hi and welcome to devnet, What about using the showMaximized method on your main widget ?
  • Confused about how style sheet inheritance works

    Unsolved qt 4.8 qwebview stylesheet css
    5
    0 Votes
    5 Posts
    3k Views
    KillerSmathK
    @define-qt You can be more specific using the name of object as identifier in style sheet sintaxe QLineEdit#ObjectName { border:0; }
  • What happened to QtWebView in release 5.11.0?

    Unsolved qml webview
    3
    0 Votes
    3 Posts
    2k Views
    M
    @PJM4B QWebview even with previous versions of Qt works only with one of either MSVC, Android, iOS kits but not MinGW.
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    4 Views
    No one has replied
  • QtWebKit and windows-1251 encoding

    Unsolved
    2
    0 Votes
    2 Posts
    942 Views
    K
    It might be that QtWebKit is built without ICU support
  • Qt-webkit - segment fault

    Solved qt 5.6 segfault webkit
    5
    0 Votes
    5 Posts
    3k Views
    1
    @Konstantin-Tokarev The problem has been solved. I change the float strategy from neon to vfpv3 and everything works well.
  • Linux: build QtWebKit against a specific version of ICU?

    Solved
    7
    0 Votes
    7 Posts
    3k Views
    A
    @Konstantin-Tokarev said in Linux: build QtWebKit against a specific version of ICU?: @agarny said in Linux: build QtWebKit against a specific version of ICU?: From what I can tell, both libQt5Core.so.5 and libQt5WebKitWidgets.so.5 depend on the following two system libraries, which themselves depend on the system version of ICU Oh. QtWebKit binaries are provided for use with official Qt builds, not system libraries First, I obviously meant libQt5WebKit.so.5 and not libQt5Core.so.5. Second, sure, it's just that when you do an ldd on the QtWebKit binaries, you get told that both the system version of ICU and the version you requested (56.1 in my case) are needed. So, I got a bit confused back then, although I now understand the reasoning for it.
  • QtWebKit - cannot build qtwebkit-static for static 4.8.x or 5.5.1

    Unsolved
    9
    0 Votes
    9 Posts
    2k Views
    K
    There was symbol clash with QtScript, but it is not used by QtWebKit since a long time. A few people succeeded in making static builds on Windows, however getting linking right is not trivial
  • Using both QtWebKit and QtWebEngine in one app

    Unsolved
    8
    0 Votes
    8 Posts
    3k Views
    P
    @Konstantin-Tokarev Here is a simple html sample: <html> <head> <title>Test</title> <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet"> </head> <body> <i class="material-icons">face</i> </body> </html> You can load it into QWebView and see that the icon is displayed as italic.
  • A sample for a web App in QT

    Unsolved
    3
    0 Votes
    3 Posts
    1k Views
    K
    Or you can use qmlweb (https://github.com/qmlweb/qmlweb)
  • QTWebview for Android with C++

    Unsolved
    6
    0 Votes
    6 Posts
    4k Views
    J.HilkJ
    hi @Miguel-Lujan qt has some good examples that should get you startet Qt Quick Widgets Example Qt WebView Examples
  • How can I just display one part of web page use by QWebView?

    Unsolved
    2
    0 Votes
    2 Posts
    929 Views
    K
    Depending on what you are trying to achieve: You can use QWebFrame::setScrollPosition on main frame to set desired scroll position You can render desired rectangle of page with QWebFrame::render and display resulting image in any way you want
  • How do I use QWebSettings from QML (qt 5.6) ?

    Solved
    3
    0 Votes
    3 Posts
    2k Views
    A
    @Konstantin-Tokarev said in How do I use QWebSettings from QML (qt 5.6) ?: You are looking for WebView.experimental.preferences See also https://rschroll.github.io/beru/2013/08/21/qtwebview.experimental.html How did I miss that, thank you very much :)
  • QWebView for running D3 javascript is slow after reloading HTML.

    Solved
    13
    0 Votes
    13 Posts
    4k Views
    C
    The issue seems to be in Qt5.5 - I compiled with 5.3 and the issue is gone.
  • PyQt get a link's "src" attribute when it is clicked on in a QtWebView

    Solved
    4
    0 Votes
    4 Posts
    2k Views
    J
    Ah cool, got it. Ended up going with something like this. Thanks webview = WebBrowserView() webview.setWindowTitle(title) webpage = webview.page() webpage.setNetworkAccessManager(self.WebNetworkAccessManager) webpage.setLinkDelegationPolicy(QtWebKitWidgets.QWebPage.DelegateExternalLinks) webview.load(QUrl(url)) class WebBrowserView(QtWebKitWidgets.QWebView): def __init__(self, parent=None): super(WebBrowserView, self).__init__() self.linkClicked.connect(self.handleLinkClicked) def handleLinkClicked(self, url): print(url.toString())
  • Minimal build QtWebKit - inspector not working

    Solved
    5
    0 Votes
    5 Posts
    2k Views
    J
    @Konstantin-Tokarev with -DUSE_MEDIA_FOUNDATION=OFF build is ok and Inspector working now. Thanks.