Skip to content

Qt WebKit

Questions about Qt WebKit and related topics? Post here!
1.5k Topics 5.9k Posts
  • Qt5 QWebView not properly responding to touch events

    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • [Solved] Get data from webpage upon clicks on links

    3
    0 Votes
    3 Posts
    1k Views
    McLionM
    AddOn: Further test showed that I can declare and add arguments to function calls in JS: @ C++: void FormExtractor::submit(QString strTest) html: form onsubmit="formExtractor.submit('Link-ID')" @ So, for the moment, I have everything I need.
  • How to filter out «back» events in a web view?

    6
    0 Votes
    6 Posts
    2k Views
    B
    and the third in javascrip-t? Try: http://stackoverflow.com/questions/20343115/how-to-filter-out-back-events-in-a-qt-web-view/20814671#20814671
  • Qt Project with Cocoa Webview got a compilation error

    26
    0 Votes
    26 Posts
    10k Views
    B
    @gaojinhsu I'm downloading the xcode and qt5.1.1 for MAC, can take a while for me to do the tests. But as soon as you can (or not), I promise to give you an answer.
  • Qt5.2 webview html5 drag&drop failed

    3
    0 Votes
    3 Posts
    2k Views
    B
    Drag and Drop DOM elements work fine in QT5.2: @var a = document.getElementById("mainDiv"); a.ondrop = function(){ //something }; a.ondragover = function(){ //something };@ File drop work fine in QT5.2: @a.ondrop = function(e) { e.stopPropagation(); e.preventDefault(); // fetch FileList object var files = e.target.files || e.dataTransfer.files; for (var i = 0, f; f = files[i]; i++) { console.log(f); } }@ I believe it is a fault in your Javascript, try running the following URLs in your projects: http://www.w3schools.com/html/tryit.asp?filename=tryhtml5_draganddrop (DOM drag and drop) http://blogs.sitepointstatic.com/examples/tech/filedrag/1/index.html (file drop) If the problem persists then I think you have not enabled in your webView DROP, try this: @WEBVIEW->setAcceptDrops(true);@ If it still does not work, you might not have Javascript enabled, try this: @QWebSettings *settings = QWebSettings::globalSettings(); settings->setAttribute(QWebSettings::JavascriptEnabled, true);@ To do all these tests, enable the "Inspector": @QWebSettings *settings = QWebSettings::globalSettings(); settings->setAttribute(QWebSettings::DeveloperExtrasEnabled, true);@ and the right-click (before any testing) open the Console.
  • 0 Votes
    3 Posts
    2k Views
    J
    Unfortunatly there are no workarounds, you just need more RAM memory to be able to acheive this compilation but I never could. I personally use the Qt5Webkit library without debugging symbol in release.
  • ENABLE_VIDEO and ENABLE_MEDIA_SOURCE in QtWebkit2.3

    1
    0 Votes
    1 Posts
    910 Views
    No one has replied
  • Comment mettre en ligne un tutoriel crée avec Qt

    3
    0 Votes
    3 Posts
    1k Views
    N
    OK merci
  • Compile Qt5.x + webkit without mmx support

    6
    0 Votes
    6 Posts
    3k Views
    T
    Tobias, I found out that the root cause of the crash is indeed, JavascriptCore engine w as executing mmx instruction. I looked through qt source and found that one can use JavascriptCore engine or V8 (another javascript engine from google). However, I was not able to find any reference to build V8 javascript engine, instead of JavascriptCore. Please let me know if you or anyone knows how to do it. thanks
  • QtWebKit 3.0 problem with WebView and flash

    4
    0 Votes
    4 Posts
    1k Views
    B
    Try install flash 32bit and 64bit.
  • Force URL in QWebView

    3
    0 Votes
    3 Posts
    1k Views
    C
    Thanks for your reply I begin with Qt (and with C++) and I realized that I had to do otherwise I have override QNetworkAccessManager and test if "req.url().host();" endsWith the domain Everything is fine now Thx, Cedric
  • [Solved] QT5.0.2 vs QT5.1.0

    2
    0 Votes
    2 Posts
    894 Views
    B
    Html tags <video> and <audio> Works in QT5.2. QT 32bit requires codecs 32bit.
  • [Solved] Family safety

    2
    0 Votes
    2 Posts
    1k Views
    B
    Family safety (windows) is like a Firewall. Windows 7: Control Panel > Program restrictions Windows 8: Control Panel > App restrictions
  • Url works under windows but no under Linux (QWebView)

    2
    0 Votes
    2 Posts
    1k Views
    B
    Try (in linux like Debian/Ubuntu): @sudo apt-get install libssl-dev@ like RPM: http://rpm.pbone.net/index.php3/stat/4/idpl/15142544/dir/mandriva_2010/com/openssl-0.9.8k-5.5mdv2010.0.i586.rpm.html
  • QWebView 4.8 on windows

    2
    0 Votes
    2 Posts
    930 Views
    B
    Post the code. If you're trying to run the application regardless of QT-sdk, then try this: http://stackoverflow.com/a/16026526/1518921
  • Developing web based applications using QT

    Locked
    22
    0 Votes
    22 Posts
    66k Views
    M
    Really just need modular MVC web application development support with scaffolding support. That will be invincible.
  • Disable automatic Encode URL

    15
    0 Votes
    15 Posts
    12k Views
    M
    I got the same issue - all clicked urls in QtWebKit object that contains percent (%) are broken in Qt WebKit, but works well on Rekonq browser (that use webkit). As I see, QtWebKit replace in url all percent symbols to % construction and broke the url. Koshak01, did you solve this problem?
  • How to Pinch zoom in the browser using the QtWebkit?

    2
    0 Votes
    2 Posts
    1k Views
    P
    O yes finger zoom on mac is running... line 145 from file.. Can use on each widged from qt on event only return accepted event or so... https://github.com/pehohlva/ogeo/blob/master/zmain.cpp
  • Mac OSX qt5 Become a Native PrintDialog on QWebView

    1
    0 Votes
    1 Posts
    790 Views
    No one has replied
  • QML to develop HTML

    1
    0 Votes
    1 Posts
    818 Views
    No one has replied