Skip to content

Qt WebKit

Questions about Qt WebKit and related topics? Post here!
1.5k Topics 5.9k Posts
  • Qt4.6.3 on eLinux and SSL support

    15
    0 Votes
    15 Posts
    6k Views
    McLionM
    I am currently using openSSL 1.0.1c. I know, thats rather old and I'm thinking of updating it. The CA-bundle I use is based on Mozilla's certdata.txt from Dec. 2014, converted to PEM format and it has all the root CA certificates I currently need. You're right, new certificates can simply be added or old ones replaced in the CA-bundle in PEM format. As for the SslErrorHandler in Qt: What do I use to replace reply->ignoreSslErrors() in my handler to satisfy the reply for SSL? I could not find any documentation on that.
  • QWebView Localize

    4
    0 Votes
    4 Posts
    1k Views
    SGaistS
    Then I see two solutions (there might be more): One version of your html files for each language in separated folders so you can easily switch them Use a django like template system for the translated parts
  • How to compile qtwebkit-plugins?

    spellcheck qwebview qtwebkit windows mingw
    15
    0 Votes
    15 Posts
    7k Views
    B
    @SGaist said: Strange… Let's check with @tekojo tomorrow I discovered, your account is moderator type (I think), my account is a normal user, so I'm not such a function, but @tekojo had an idea to use "tags" instead of this function, see: https://bugreports.qt.io/browse/QTWEBSITE-631
  • How to enable CORS in Qt Webkit (QWebView)?

    4
    0 Votes
    4 Posts
    4k Views
    SGaistS
    You're welcome ! Did you take a look at "that":http://doc.qt.io/qt-5/qwebsecurityorigin.html#addAccessWhitelistEntry ?
  • QWebKit: SVG support incomplete

    1
    0 Votes
    1 Posts
    646 Views
    No one has replied
  • How to change user agent in HTML Help ran in QT Assistant

    1
    0 Votes
    1 Posts
    570 Views
    No one has replied
  • Customize Web Notification in QWebPage

    1
    0 Votes
    1 Posts
    780 Views
    No one has replied
  • Use javaScript to click on a link

    2
    0 Votes
    2 Posts
    1k Views
    T
    You probably wanted target="_blank" or you don't have frame with that name "_black" or due to security restrictions originating frame (e.g. main frame) doesn't have access to the other frame ( "_black") http://www.w3schools.com/tags/att_a_target.asp
  • Background-image in local file using setUserStyleSheetUrl()

    3
    0 Votes
    3 Posts
    2k Views
    T
    Just a suggestion - will it work with *.png or *.gif instead... Perhaps the plugin can't load BMP or you're missing image format plugins P.S. also if you're using old version (4.x) that bug probably isn't fixed yet :-) https://bugs.webkit.org/show_bug.cgi?id=51159
  • Error while trying Qt 5.4.0 sample HTTP Example

    3
    0 Votes
    3 Posts
    1k Views
    H
    Hi Thanks for reply It compiles executes , runs and gives the output fine , but after I close the application I get this message in the Issues tab I have tried it on 5.4.0 windows 64 bit visual studio 2013 compiler and 5.3.0 windows 32 bit it happens the same on both these
  • How to use qwebkitplatformplugin?

    20
    0 Votes
    20 Posts
    5k Views
    B
    AcerExtensa in QtCreator clicked with right button in project > selected "Build". Create .lib and .dll :)
  • HTML screen capture quality

    1
    0 Votes
    1 Posts
    723 Views
    No one has replied
  • 0 Votes
    1 Posts
    722 Views
    No one has replied
  • Different QWebView objects produce identical output for same urls

    2
    0 Votes
    2 Posts
    843 Views
    V
    Solution is to disable cache: @view.page().settings().setObjectCacheCapacities(0, 0, 0)@
  • Webkit for winrt

    1
    0 Votes
    1 Posts
    739 Views
    No one has replied
  • Webkitwidgets for QT winrt is unknow module

    1
    0 Votes
    1 Posts
    719 Views
    No one has replied
  • HyperLink QML GraphicsWebview

    0
    0 Votes
    0 Posts
    522 Views
    No one has replied
  • Is there a way I can detect when a QWebElement is rendered in a QWebFrame?

    14
    0 Votes
    14 Posts
    5k Views
    B
    I know that there is no custom sign, I referred to the example I posted in my first post: @ CustomObj *jscustom = new CustomObj(); QObject::connect(jscustom, SIGNAL(customSignal()), this, SLOT(MY_SLOT())); ... QWebFrame->addToJavaScriptWindowObject(QString("customJScallback"), jscustom); @ Perhaps your question is not clear, or you do not understand my example.
  • [Solved] Error: QtWebKit 3.0 module not found

    2
    0 Votes
    2 Posts
    3k Views
    J
    Hi folks, I figured the problem out myself and in case someone else encounters this problem, here is what worked for me: I ran dependency walker and only found dependencies on Core, Gui, QML, Quick and Widget (which I included in the folder of the executable). Apparently what was missing were dependencies for Multimedia, MultimediaWidget, Network, OpenGL, Positioning, PrintSupport, Sensors, Sql, WebChannel, WebKit, WebKitWidgets and the QtWebProcess.exe. I have no idea why this would be needed or why the error message did not say anything about it but it silently worked when adding these libraries to the folder of the executable. I followed these "deployment instructions":http://qt-project.org/wiki/Deploy_an_Application_on_Windows to figure out which libraries were necessary. Sadly I did not find any documentation about which modules have which dependencies so there is only the trial and error method described there. Best Regards, Jan
  • 0 Votes
    2 Posts
    1k Views
    J
    I'm no longer looking for an answer on this one for a few reasons. The first is that my team discovered QWebElement, and we will likely be using that for manipulating our HTML rather than straight JavaScript. The second is that if we do use any JS, we will be using anonymous functions when calling them with evaluateJavascript; they fall out of scope once they are done running. Finally, we feel good design can help us limit the JS we use anyways, so we don't anticipate any issues. Fitz