Questions tagged [qwebview]

The QWebView class is the main widget component of the Qt WebKit web browsing module. It can be used in various applications to display web content live from the Internet.

The QWebView class provides a widget that is used to view and edit web documents. QWebView is the main widget component of Qt's QtWebKit web browsing module. It can be used in various applications to display web content live from the Internet. QtWebKit is based on the Open Source WebKit engine.

QWebView is the main widget component of the Qt WebKit web browsing module. It can be used in various applications to display web content live from the Internet.

The official Qt documentation can be found here for Qt 4.8 and here for Qt 5.

540 questions
0
votes
1 answer

How to pass an argument to evaluateJavaScript function?

for (int i = 0; i < centerPointsList.size (); i++) { QVariant holdInformation = map->page ()->mainFrame ()->evaluateJavaScript (QString ("constructFileName (%1).arg (centerPointsList[0].toFloat())")); QList
Aquarius_Girl
  • 21,790
  • 65
  • 230
  • 411
0
votes
1 answer

How to set cache drive on network for QWebView caching

I am using QWebView to display my web content, I wanted to setup cache capability for my webview for that I wanted to set cache drive, but I dont have enough memory available at my client side, how can I give some folder location located at my…
Ashish Mittal
  • 643
  • 3
  • 12
  • 32
0
votes
2 answers

QtWebView -- C++ -- How to get javascript string returned from linkClicked event

I have been unable to find a definitive answer to my problem. I currently have a QWebView control load an html file that is on my hard-drive, that implements a vector map with javascript actions. The html file loads a jvectormap US States Map. The…
0
votes
1 answer

Asynchronous JQuery request in QWebView to load XML

This thread follows my question about how to embed a web application in a Qt executable. My web application is a JQuery based application and I wouldn't modify it when embedding it in Qt. In this application, I load an XML document asynchronously…
Maxbester
  • 2,435
  • 7
  • 42
  • 70
0
votes
1 answer

QWebview: Upload to Youtube return error

Here is my situation: I have created a QWebview, loaded a Youtube page, and logged in. I select upload option (http://www.youtube.com/my_videos_upload), and choose a video to upload. However, youtube always returns "The server has returned an…
0
votes
1 answer

Quit PyQt4 app when loadFinished complete

I want to close the window after loadFinished complete. imagine simple code: class Example(QWebView): def __init__(self): QWebView.__init__(self) self.frame = self.page().mainFrame() …
Vor
  • 33,215
  • 43
  • 135
  • 193
0
votes
2 answers

QWebKit does not show some images on specific platforms

I'm programming a very simple Qt-based application which will be interfacing some website. That website requires user to login with username/password and solved Captcha. Because of that Captcha, I decided to use QWebKit and just display the website…
user1234567
  • 1,832
  • 1
  • 18
  • 25
0
votes
0 answers

LoadFinished false even for local html file load

We had developed an ".app" installer for MAC OSX using C++ / QT. We were facing issues with loadFinished signal being called with false intermittently even while loading html file which is from local file system. I found some other posts regarding…
Engineer
  • 227
  • 2
  • 19
0
votes
0 answers

How to use QWebView as Stand alone JavaScript engine?

In my current project, we were using c++, QT, QTWebview. Complete business logic resides in JavaScript which was loaded into the .exe/.app using QWebView. Native OS logic resides in C++. The to and fro communication from C++ to Javascript is heavy…
Engineer
  • 227
  • 2
  • 19
0
votes
1 answer

QWebView Memory Leak

this is code QWebView* webView=new QWebView(this); webView->page()->setLinkDelegationPolicy(QWebPage::DelegateAllLinks); webView->load(QUrl(newsUrl)); After Delete any case, there will be some memory can not be deleted
Silence
  • 39
  • 6
0
votes
2 answers

Logout function in QWebView

I'm developing application in Qt 4.8.1. I trying to develope a simple web browser. I want to create function logout on site. As I understand the required information is stored in cookies. In webView->page()->networkAccessManager()->cookieJar() I…
NeedForS
  • 33
  • 4
0
votes
1 answer

QWebkit is not able to detect NPAPI plugin

I have developed one NPAPI based plugin and kept in under /usr/bin/mozilla/plugins directory. I have created one sample html page which merely embeds this npapi plugin. It is getting loaded by mozilaa, but same page when I am trying to load via…
Ashish Mittal
  • 643
  • 3
  • 12
  • 32
0
votes
1 answer

How to get the QLayouts to expand properly?

My structure is as follows: QWidget -QHBoxLayout -QLabel -QVBoxLayout -QLabel -QWebView I want the HBoxLayout to fill the width however large the container may be but go no more or less. However, I…
chacham15
  • 13,719
  • 26
  • 104
  • 207
0
votes
0 answers

QWebKit doesn't handle click and dblclick for Google Maps

I just copy/pasted this code from google maps API in a my index.html