The QtWebKit module, part of the Qt framework, provides a web browser engine as well as classes to render and interact with web content.
Questions tagged [qwebkit]
150 questions
0
votes
0 answers
How to access QWebView's QScriptEngine?
I want to access QScriptEngine::setProcessEventsInterval to make panels with long-running scripts more responsive.
How do I access it, QWebView, QWebPage, or QWebFrame don't seem to offer a way to get it? If this is not feasible, is there an…

hannu40k
- 512
- 1
- 8
- 20
0
votes
1 answer
QWebView. How to load an image from a memory buffer?
I'm using QWebView as a rendering layer for my application.
I would like to be able to buffer an image in memory and have the webkit engine render the image progressively as it buffers, like it would over an HTTP connection, by inserting an
…

Username Obfuscation
- 769
- 1
- 5
- 24
0
votes
1 answer
Position of composition window of IME in webkit not moved with input focus
I used a QWebkit in my application, when I input some characters into a input control in QWebkit, the composition window of IME(Chinese) is always out of the main window of my application, not displayed at the position of the input control. This…

kiford
- 1,219
- 1
- 12
- 23
0
votes
1 answer
Qt Project with QWebKit symbol(s) not found for architecture x86_64
I am new to Qt. Basically I have created a test desktop project and dragged and dropped a QWebKit into the MainWindow. That's all I have done.. Then run the project and got the following errors.
:-1: error: symbol(s) not found for architecture…

Tim Tuffley
- 605
- 1
- 6
- 20
0
votes
1 answer
Simulating user click fails on this specific weblink
This is a quite challenging question I believe.
My target webpage is click here
You see that there is a button with the text "Jouw zoekertje GRATIS PLAATSEN" with orange background. If you click on this link on your regular browser, it goes to…

Dundar
- 1,311
- 1
- 14
- 25
0
votes
1 answer
Qt get DOM from page without updating GUI
I'm modifying the DOM Traversal example that comes with Qt. However, whenever I see a link, I want to "go" to that URL and also traverse its DOM, but I don't want to reload the GUI. Right now I'm still using the code from the example to get the…

MrUser
- 1,187
- 15
- 25
0
votes
0 answers
Compiling QT(with QWebKit) 5.x from source as "redist"
Short story:
I need to compile Qt 5.x with modified QWebKit source as release delivered together with main executable of application (kind of redist package). However I am unable to accomplish this goal.
Long sory:
I made Qt Widgets 5.x application…

PTwr
- 1,225
- 1
- 11
- 16
0
votes
1 answer
QWebView does not work on Ubuntu 13.10
If I add QT += webkit webkitwidgets to my pro file on Ubuntu 13.10 and want to create a QWebView:
#include
QWebView* mWebView = new QWebView();
mWebView->load(QUrl("http://stackoverflow.com"));
I get the following errors:
:-1: error:…

Niklas
- 23,674
- 33
- 131
- 170
0
votes
2 answers
Accessing text between two QWebElement objects
I am traversing a DOM using Qt's WebKit classes. Please have a look on the following pseudo HTML:
111AAA
222BBB ... I can easily find the anchors using findAll(). However I also need to get the text…
111AAA
222BBB ... I can easily find the anchors using findAll(). However I also need to get the text…

Silicomancer
- 8,604
- 10
- 63
- 130
0
votes
1 answer
QT-Qweb Callback not working in the example here
Now this code works with the slot mechanism. However, I want to try out the signal way also. However, I am unable to do so? Any more ideas on it?
I want to call function f1 of the Javascript from the QT. However, I am unable to do so. I don't see…

dexterous
- 6,422
- 12
- 51
- 99
0
votes
1 answer
QWebFrame::evaluateJavaScript(scriptSource) leads to "SyntaxError: Parse error" when not executed in main Thread
When I run QWebFrame::evaluateJavaScript(scriptSource) from main thread everything seems to work just fine. But when I try to run it from a different thread I get a SyntaxError: Parse error. Even when I'm trying to run trivial code like 1+1;.
Can…

Senči
- 911
- 2
- 10
- 25
0
votes
2 answers
PySide. JavaScript. Execute js an get result as a pure text or html
Would like to get calendar data from page like http://www.dukascopy.com/swiss/english/marketwatch/calendars/eccalendar/
The data is dynamic and loads with js-applet - "DukascopyApplet"
I tried to extract data this way:
app =…

user3003873
- 543
- 1
- 4
- 21
0
votes
1 answer
hitTestContent returns nothing on text in QtWebkit
I'm having trouble detecting the clicked element in a qtwebkit qwebview.
Don't know why but when looking for an attribute, I get nothing back when clicking on text in my document
void APP_Orders::contextMenuEvent(QContextMenuEvent *event)
{
…

Vincent Duprez
- 3,772
- 8
- 36
- 76
0
votes
1 answer
HTML page not loading using QWebView
I am trying to load one HTML file using QWebView, which contains a flash video.
But my webpage is not getting loaded at all. if I right click on the page , context menu is just displaying
“load” button.
I am using QtSDK5.1 64bit on win7 64 bit…

Ashish Mittal
- 643
- 3
- 12
- 32
0
votes
1 answer
Open new window after click using QT
I am trying to implement a simple browser myself using QT, but I got one question now, I wanna to open a new window after clicking a link on a web page, how to realize this function ? How to make QWebView::createWindow() work together with…

Ivy
- 503
- 1
- 10
- 23