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
2
votes
0 answers
Getting issue in making .deb package of QT 5.2.1 app to deploy on Ubuntu 14.04
I want to make .deb package for the QT 5 .2.1 desktop app for ubuntu 14.04 64 bit.
I have installed QT 5.2.1 on Ubuntu 14.04 and made a demo app for the testing purpose in which I have used Qt webkitwidgets.
During in making the .deb package of…

User2546
- 33
- 1
- 8
2
votes
1 answer
QWebkit missing on MXE crosscompiler and Qt 4
I did the installation of the MXE crosscompiler and I am trying to make an app for Windows on Linux. But an error where said there was no QWeb compiling emerged. I checked this and there doesn't exist such component compiled Qt in the MXE. I want to…

albert
- 1,766
- 1
- 21
- 24
2
votes
1 answer
why is headless qwebpage throwing sigsegv?
so, I need to parse some javascript against one html page (kinda a scripting for my app), but QWebPage throws SIGSEGV when I try to initialize it. It console application. Relevat parts of my code:
QT += core sql network xml webkit
QT -=…

graywolf
- 7,092
- 7
- 53
- 77
2
votes
1 answer
Qt how to insert html into an editable QWebView at the cursor position?
I'm trying to use QWebView to implement a blog post editor. And I have some sample html snippets to insert into the editor by triggering menu actions. However, it's not convenient as QTextEdit to insert html. As for why I don't use QTextEdit, see my…

Ggicci
- 785
- 2
- 13
- 29
2
votes
1 answer
Import customers from QuickBooks (PHP WebKit)
For query I use QB WebKit, so my queries look like as:
$customer = new QuickBooks_Object_Customer();
$customer->set(...);
return QBXML_START . $customer->asQBXML('CustomerQueryRq') . QBXML_END;
But for iterators methods it doesn't work. And so I…

Salavat
- 111
- 1
- 11
2
votes
1 answer
PyQt4 does not redirect me to the next page
The code below works fine except one thing, it does not follow the sign-up link.
However if I go to my actual browser and in console type:
document.getElementById("link-signup").click()
It will redirect me to the desired page. I was thinking that…

Vor
- 33,215
- 43
- 135
- 193
2
votes
0 answers
How to get Keypress event in QWebView window
I am using QWebView to display some flash content in this. I have been set the attribute of this window to be frameless and made it as a child window of some other process(Remote desktop Terminal session window).
I wanted to grab the ALT+F4 key…

Ashish Mittal
- 643
- 3
- 12
- 32
1
vote
2 answers
Open external links from flash player hosted on QWebKit
i have flash player running on QWebkit , and on the flash player there are some web links
that needs to be open in external browser , what i did is :
m_webView->page()->setLinkDelegationPolicy(QWebPage::LinkDelegationPolicy::DelegateAllLinks);
…

user63898
- 29,839
- 85
- 272
- 514
1
vote
1 answer
Crash after QWebFrame::setHtml
I'm trying to set html content dynamically to document node in the main thread.
QWebElement dynamicContent = ui->webView->page()->mainFrame()->documentElement().findFirst("div#dynamicContent");
if (QWebFrame *frame =…

Orange
- 553
- 3
- 20
1
vote
1 answer
Is it worth using QTextBrowser for parsing and modifying HTML page in the background instead of QWebPage?
For the pure purpose of learning C++ and Qt I'm writing a little Qt-based program, which reads HTML files (up to several hundreds) from a local directory, modifies them and writes them back into another local directory.
My first try was using…

Torbjörn
- 5,512
- 7
- 46
- 73
1
vote
1 answer
Signal QWebPage::loadFinished(bool) returns twice?
I got a problem with QWebPage::loadFinished (bool) signal , it calls back twice , is that normal ? ( there's no link following at all , e.g HTTP status 302 )
Consider the following code , the whole thing may cause problem , is trying to load another…

daisy
- 22,498
- 29
- 129
- 265
1
vote
1 answer
QWebKit - Run page's javascript function?
Basically I want to go into my Router's settings,
set a checkbutton and than call a function on the page,
all programmatically.
I know all the javascript to do this,
and can do it via the Google Chrome console.
I can syntactically perform it…

Anti Earth
- 4,671
- 13
- 52
- 83
1
vote
1 answer
QtWebKit QApplication call twice
I am calling a scraping class from Flask and the second time I instantiate a new Webkit() class (QApplication), it exits my Flask app.
How can I re-run a Qt GUI app multiple times and have it contained so it does not shut down the "outer"…

Radek
- 3,913
- 3
- 42
- 37
1
vote
1 answer
Print error Pyqt Qwebkit on raspbian/ linux
Traceback (most recent call last):
File "pos.py", line 57, in printDocument
self.page.print(printer, printPreview)
AttributeError: 'QWebPage' object has no attribute 'print'
Aborted
I am using raspbian os. and am trying to print from…

Adhun Thalekkara
- 713
- 10
- 23
1
vote
1 answer
Parsing HTML with C++ (using Qt preferably)
I'm trying to parse some HTML with C++ to extract all urls from the HTML (the urls can be inside the href and src attributes).
I tried to use Webkit to do the heavy work for me but for some reason when I load a frame with HTML the generated document…

Raphael
- 7,972
- 14
- 62
- 83