Skip to content

Qt WebKit

Questions about Qt WebKit and related topics? Post here!
1.5k Topics 5.9k Posts
  • UnsupportedContent signal is emitted in qt webview

    6
    0 Votes
    6 Posts
    2k Views
    SGaistS
    If you only want to download something without even showing it, why not use QNetworkAccessManager directly ?
  • Program crashes when using QWebView to show a web page

    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • QWebview: Upload to Youtube returns error

    2
    0 Votes
    2 Posts
    2k Views
    P
    Did you find the solution of this problem? Thanks.
  • 0 Votes
    2 Posts
    1k Views
    EddyE
    "Have a look at this wiki":http://qt-project.org/wiki/Embed_YouTube_Video_in_QWebView Hope it helps
  • QWebView::findText

    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • How to catch "window.onload" webpage event ?

    2
    0 Votes
    2 Posts
    2k Views
    K
    Maybe you could try QWebFrame::javaScriptWindowObjectCleared() or loadFinished(). But loadStarted() would be to early I think.
  • Modifying QWebView's copy behaviour

    1
    0 Votes
    1 Posts
    730 Views
    No one has replied
  • Support for QWebView on Android

    2
    1 Votes
    2 Posts
    3k Views
    N
    http://qt-project.org/qt5/qt52#android
  • Weird QWebView issue

    2
    0 Votes
    2 Posts
    985 Views
    D
    I forgot to mention that I run it on Windows 7 and my qt version is 4.8.3.
  • Check which textfield is clicked

    1
    0 Votes
    1 Posts
    605 Views
    No one has replied
  • Qwebview crash on load

    3
    0 Votes
    3 Posts
    2k Views
    V
    QT5.2.1 MSVC2010
  • Qt 4.8 and WebKit2

    3
    0 Votes
    3 Posts
    1k Views
    E
    Ok, thanks for that, I will do that. regards Einar
  • Google Earth Plugin API

    2
    0 Votes
    2 Posts
    1k Views
    M
    Hello. Did you have a question?
  • Embedded object not loaded when "display:none" style property is added

    5
    0 Votes
    5 Posts
    5k Views
    O
    With some delay I managed to go back to this issue. To better explain my problem, I copied the example at: http://qt-project.org/doc/qt-4.8/webkit-simplewebplugin.html I added a print at the beginning of @QObject *CSVFactory::create(const QString &mimeType, const QUrl &url, const QStringList &argumentNames, const QStringList &argumentValues) const { qDebug() << "CSVFactory::createm mimeType: " << mimeType; [...] @ To be able to detect on console when the browser loads the plugin. My index.html looks like this: @<html> <head></head> <body> Embedded object: <object id = "plugin" style="display:none" type="text/csv;header=present;charset=utf8" data="qrc:/data/accounts.csv" width="100%" height="300"></object> </body> <div id="msg1"></div> [removed] setTimeout(function(){ document.getElementById("msg1").textContent = "Display is set to block"; document.getElementById("plugin").style.display="block"; }, 5000); [removed] </html>@ when the example application is launched the print is not visible even though the embedded object of the correct mime type is in the HTML. Afer 5 seconds timeout, the javascript changes the display property to block and at that point the print appears on the console. This should prove that the plugin object is not loaded unless visible, which doesn't seem to be what w3c specifies, as display:none should only hide the object. I hope my question is now clearer and somebody will be able to answer it. Thank you!
  • 0 Votes
    1 Posts
    1k Views
    No one has replied
  • QTWebkit flashplayer plugin issue

    1
    0 Votes
    1 Posts
    708 Views
    No one has replied
  • Not be able to play videos by using video tag in html5

    1
    0 Votes
    1 Posts
    569 Views
    No one has replied
  • Render html to image/qpicture

    2
    0 Votes
    2 Posts
    3k Views
    S
    OK. I finally figure it out. I need to call QWebPage::setViewportSize(). I guess it's automatically set if the page is part of QWebView.
  • Access to WebKit Internal API

    1
    0 Votes
    1 Posts
    694 Views
    No one has replied
  • Simulating iput type="file" process

    2
    0 Votes
    2 Posts
    964 Views
    D
    Can anyone tell me how I can set the focus on the opened Dialog Box where user selects the image when clicked to the button? Why doesn't it type whatever I send from keyboard event? For example, @QKeyEvent key(QEvent::KeyPress, Qt::Key_Escape, Qt::NoModifier); QApplication::sendEvent(ui->webView, &key);@ I would expect that the dialog box will close since Escape button is simulated. What is wrong here?