Skip to content

Qt WebKit

Questions about Qt WebKit and related topics? Post here!
1.5k Topics 5.9k Posts
  • Is there any way to save/restore full state of QWebView?

    1
    0 Votes
    1 Posts
    757 Views
    No one has replied
  • Is there an easy way to copy a QWebFrame?

    1
    0 Votes
    1 Posts
    796 Views
    No one has replied
  • Get QObject with javascript failed!

    3
    0 Votes
    3 Posts
    2k Views
    JKSHJ
    Hi, I'm not 100% sure, but try using QQmlListProperty instead of QObjectList: http://qt-project.org/doc/qt-5/qtqml-referenceexamples-properties-example.html
  • Error in loading Webpage->QFont::setPixelSize: Pixel size <= 0 (0)

    2
    0 Votes
    2 Posts
    3k Views
    A
    May I bump this? This is still reproducible under Ubuntu 13.10 Qt version 5.0.2.
  • WebSocket draft?

    11
    0 Votes
    11 Posts
    6k Views
    K
    The project has been moved to the official Qt repository and is about to be included in Qt 5.3. It can be found here: https://qt.gitorious.org/qt/qtwebsockets [quote author="KurtPattyn" date="1376466764"]You can have a look at "QWebSockets":http://github.com/KurtPattyn/QWebSockets/, which is a native implementation of web sockets (RFC6455). Can be used both client and server side. [/quote]
  • Qt5, eglfs, WebKit2 ,Qml and Snowshoe

    3
    0 Votes
    3 Posts
    2k Views
    T
    Netsurf is lightweight, HTML5 is work in progress, not sure about WebGL though... Not Webkit based http://en.wikipedia.org/wiki/NetSurf Midori is Webkit based - not sure about WebGL http://en.wikipedia.org/wiki/Midori_(web_browser) What about google's blink engine http://www.chromium.org/blink
  • 0 Votes
    2 Posts
    1k Views
    N
    You could also simply try to visit this page: http://stackoverflow.com/questions/17060966/restore-scrollbar-position-of-qwebview-after-sethtml with a qwebview and you'll see the bug aswell :/
  • QtWebKit module missing in Linux custom build Snapshot 4.8.6

    5
    0 Votes
    5 Posts
    3k Views
    M
    It's the same result :( I give up, I will wait for next LTS of Linux, and reinstall the machine. I though it would be easier to fix this issue. Thank for your help, I appreciate it.
  • Error apears on console when using ExtJs on WebKit

    1
    0 Votes
    1 Posts
    838 Views
    No one has replied
  • 0 Votes
    3 Posts
    1k Views
    S
    It is stored in <qtwebkit-folder>/WebKitBuild/Release folder. In one of my attempts, I had even tried exporting WEBKIT_OUTPUTDIR=pwd/qt485-rpi-qpa first and then firing "build- webkit" script but no luck.
  • Missing RegExpJitTable.h

    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • Ftp user details fetching

    8
    0 Votes
    8 Posts
    2k Views
    B
    I got it solved thanks guys
  • Is there a method to load html without external resources?

    7
    0 Votes
    7 Posts
    2k Views
    V
    You can rewrite QNetworkAccessManager::createRequest function to skip some urls, see: "http://code.google.com/p/simple-media-player/source/browse/trunk/MyPlayer/src/adblock.py?spec=svn15&r=15":http://code.google.com/p/simple-media-player/source/browse/trunk/MyPlayer/src/adblock.py?spec=svn15&r=15
  • 0 Votes
    3 Posts
    1k Views
    J
    Hi All, The issue is resolved. The issue was with the "div" tag of Second Server Status. The div tag had an attribute width="55%&" apart from float = "left" The problem was found to be with ampersand( & ). If width is specified as "55%" then QWebView displays the page with table contents shown side by side. If width = "55%&" then the tables are displayed one below the other. Cheers, Jeevan
  • Qt5 WebKit not detecting NPAPI plugin

    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • QT Webkit cannot play html5 video

    12
    0 Votes
    12 Posts
    11k Views
    B
    seang96 your System is 64bit? QT compiler (eg. Mingw 32bit or vs2012 32bit in Windows) is 32bit? Please install codecs for 32bit.
  • 0 Votes
    1 Posts
    718 Views
    No one has replied
  • Qt 5.2 Flash videos on Mac

    1
    0 Votes
    1 Posts
    684 Views
    No one has replied
  • Why my custom cookiejar not working?

    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • QtWebKit rotates glyphs in vertical layout

    2
    0 Votes
    2 Posts
    2k Views
    P
    Here is a fairly minimal repro with plain Qt (no PySide) @#include <QApplication> #include <QtWidgets> #include <QtWebKitWidgets> int main(int argc, char *argv[]) { QApplication a(argc, argv); QWebView view; QString html = "<html>" "<head><title>Vertical Text</title>\n" "<meta http-equiv="content-type" content="text/html;charset=utf-8">\n" "</head>\n" "<style>\n" "<!--\n" ".vert {\n" "direction:ltr;\n" "-webkit-writing-mode: vertical-rl;\n" "font-size:20pt;\n" "font-family: "Times New Roman", sans-serif;\n" "}\n" ".vert p {\n" "text-indent:2em" "}\n" "-->\n" "</style>\n" "<body class="vert">\n" "<div>\n" "<p>退而深惟曰:『夫詩書隱約者,欲遂其志之思也。昔西伯拘羑里,演周易;孔子戹陳蔡,作春秋;屈原放逐,著離騷;左丘失明,厥有國語;孫子臏腳,而論兵法;不韋遷蜀,世傳呂覽;韓非囚秦,說難、孤憤;詩三百篇,大抵賢聖發憤之所為作也。此人皆意有所鬱結,不得通其道也,故述往事,思來者。』(史記 · 太史公自序)</p>\n" "</div>\n" "</body>\n" "</html>"; view.page()->settings()->setAttribute(QWebSettings::DeveloperExtrasEnabled, true); QWebInspector inspector; inspector.setPage(view.page()); view.setHtml(html); inspector.show(); view.show(); return a.exec&#40;&#41;; }@