qtwebkit

Very slow remote page load performance in QtWebKit (Windows)

I get very slow load times on QtWebKit on Windows 7, through ADSL. I am using the Qt Demo Browser, on a Core2 Quad, 64 bit Windows 7, 4GB ram, 2gb processor. through a VPN. Simplest example: google search page takes ~18 seconds to load, compared to 2.5 on Chrome (cash cleared). On larger pages, with scripts etc. it is worse. I tried Qt ...

QtWebKit problems playing HTML5 video

I have a simple Qt application that launches a window with a QWebView. I tried several sites using the video tag with h.264, and it either can't play the video at all (as in youtube or sublime video), or it renders the video poorly, with black lines covering parts of it, like when viewing the video here. Is this a known issue with QtWeb...

Capture Flash Audio in 4.7 Edge?

Is there a way to capture plugin (Flash) audio before it gets to the sound card? I'd like to record plugin audio, hopefully without actually playing the sound. Capturing audio at the device level is an absolute last resort, as the application would pick up all system audio rather than just the Webkit plugin. I'm aware of the recent swi...

Loading page with frames for a screenshot

I have an app that renders a web page in a iframe, and then loads X number of images in a div that overlays the frame. So I have this python script that loads the url, and takes a screenshot. It works on regular web pages, but I think the frame is throwing it off. Below is my code, and a link to the screenshot it's taking. #!/usr/bin/...

How to Create a webservice by QT

I am looking for a tool or plugin that help me to create web service as DOT NET does for Linux thanks =============================== After search, I found that Qt has not any thing to write web services gSOAP is an Open Source Solution for this problem, currently we use it. ...

do PyQt4.QtWebKit.QWebView on Windows7-64bit works with SSL sites?

I can browse unprotected sites, but trying to open an "https" one results in these messages: QSslSocket: cannot call unresolved function SSLv3_client_method QSslSocket: cannot call unresolved function SSL_CTX_new QSslSocket: cannot call unresolved function SSL_library_init QSslSocket: cannot call unresolved function ERR_get_error QSslSo...

Displaying QWidgets created with QWebPluginFactory

Based on Qt 4.5.1 I placed QWidget, created with QWebPluginFactory, into HTML page. ... ... TestObject works just fine, also JS communication with it. But i found two problems: I cant draw no HTML elements above QWidget(positioning absolute and setting z-indexes). Is there any way how to set rendering order in WebKit? Or to make z...

Embedded Windows Media Player loaded in QtWebKit: set volume does not work

hi, when loading this html (html is also here) in the Qt 4.6 Demo Browser, pressing "Set Volume = 80" fails without raising an exception. Notes: The same html works fine in Chrome and Firefox. Happens on Windows, but works fine on Mac. Fails also with Qt 4.7 Beta Demo, and in Arora browser. Any idea? ...

catch link clicks in QtWebView and open in default browser

Hi, I am opening a page in QtWebView (in PyQt if that matters) and I want to open all links in the system default browser. I.e. a click on a link should not change the site in the QtWebView but it should open it with the default browser. I want to make it impossible to the user to change the site in the QtWebView. How can I do that? T...

How can I incrementally load html in Webkit?

Hi, I have a large amount of XHTML content, that I would like to display in WebKit. Unfortunately, Webkit is running on a mobile platform with fairly slow hardware, so loading a large HTML file all at once is REALLY slow. Therefore I would like to gradually load HTML content. I have split my data in small chunks and am looking for the p...

Using PyQt4.QtWebKit on a Debian server

Hi, I'm having a problem using PyQT4 on a Debian server. My script works fine on an Ubuntu Desktop machine, and I now want to deploy it on a server. Knowing it needed an X server, I launched one doing vncserver --display 800x600 :4242 I then exported the display : export DISPLAY=:4242 But my program keeps returning the error ...

How to edit QtWebKit's right-click context menu in Qt Creator?

Alright, here's my dillema. I am making a simple application with Qt Creator that makes use of Webkit. I thought Qt Creator would have an easy way to edit the right-click context menu with the signals and slots editor, but this has proven to not be true. I know webkit has classes that have to do with the context menu, but I don't know ho...

How can I load session information into qtwebkit?

I am building a specialized browser based on Qtwebkit. I would like to save the session information when logging into authenticated websites and load this information again when I restart the browser. How can I do this? ...

PyQt + QtWebkit behind a proxy

I'm writing a PyQt (Python bindings for the all-powerful Qt library) application and a small part of my application needs a web browser (hint, OAuth). So I started using QtWebkit, which is fantastic by the way. The only hitch is I would like to allow users behind a proxy to use my application. I have read about the QNetworkProxy class i...

QT/WebKit GUI pass selected HTML element data to Qt app

Hello, I'm going to collecect form inputs on web pages to fill them next time automatically based on input field name. How to pass selected/howered HTML element data in QtWebkit to qt application? Like Firebug does. Qt version: 4.6 / 4.7 Thanks. ...

How web browser layout web pages?

how webkit/Gecko 's webpage layout process works? ...

QtWebkit: console application

I am new to Qt. I am building a console application and I need to process lot of real world html pages. QtWebkit comes as an easy choice because of clearly cut APIs and easy availability. I checked out the docs and they say that I can load pages by using QWebView::load(). But I am building a console application and I cannot use a widge...

-webkit-box-shadow blur with QtWebKit?

Is there any way to achieve working blur for -webkit-box-shadow at the time? Reading through the comments of this bug report, i recognized that this is still an issue, although the bug report is marked as RESOLVED FIXED since version 528 (I am using version 534.6). ...

Sending a custom header along with qtwebkit request

I'm doing some work with PyQt4 and QtWebKit, and in the web page request need to send a custom "Host" header along with the standard HTTP request. I'm not seeing any options for adding custom headers to the request, but this is all new to me so I hope I'm missing something. I'm looking here: http://doc.trolltech.com/4.6/qwebsettings.htm...

Overriding hostname IP address in qtwebkit request

I'm downloading a web page (with PyQt4/QtWebKit) using given hostname, but I would like to use a pre-defined IP address for that hostname. For example, I need to hit "http://www.mysite.com" but use the IP address 1.2.3.4 instead of the actual resolved IP address. Is this at all possible in QtWebKit? I've tried a couple things so far: H...