How to get everything before and after selectedText() or selectedHTML() (or...
Hi! I was wondering if anyone could suggest how to do the following: - when a user selects some text on a page in QWebView with their mouse – I want to get all the text preceding the selected fragment...
View ArticleQtWebkit-based browser cut off some pixel of the top of headlines
Hallo, I have tested two QtWebkit-based browser (QupZilla and Arora). Both show a similar behaviour. They cut off some pixel of the top of headlines (see [1]). It supposed to be a QtWebkit issue. Is...
View Articleproblems loading local content into QWebView
I’m using Qt 5.2.1 on PC I have a simple QWebView and I load it with an HTML page that is stored on the local machine: ui->webView->load(QUrl::fromLocalFile(“c://sample//index.html”));...
View ArticleHow to full screen in a web plug-in
Generally, calling setWindowFlags() and showFullScreen() will be able to achieve it, but do not work in the web plug-in. The OBJECT of HTML limits the width and height of the plug-in, plug-ins can not...
View ArticleQt and HighCharts API
Hi All: I’ve recently been running the HighCharts API in a QWebView for a quick-n-dirty ready made chart plotting interface with a few evaluateJavascript() calls as necessary to pass information...
View ArticleHow to use QWebPage::OpenLinkInNewWindow?
Hey there, I would like my web browser to open a link in a new window and I noticed this: QWebPage::OpenLinkInNewWindow. I have connected the signal and slot, but I am unable to open the link. I...
View ArticleWebKit using the same principles of a smartphone navigation
Hi, I would like to create a WebKit using the same principles of a smartphone navigation. I found this page http://qt-project.org/doc/qt-5/qtwebkit-goes-mobile.html. But when I use the cursor like a...
View ArticleHas anyone tried using pdf.js with QWebKit?
Hi all, I’m trying to use pdf.js to display pdf files in my application. I’ve created custom NetworkAccessManager to supply local pdf file to the script and almost everything seemed fine until I came...
View ArticleQWebkit: V4 is really slow compared to V8 for large sources
My goal is to build a javascript framework rendered in a QWebView, not using Qml, just standard javascript. My library is near 1Mb of pure compact javascript with a lot of great ui components. I do...
View Articlewebsocket network error: The certificate is self-signed, and untrusted
i could connect to the secure web socket at www.websocket.org/echo.html but could not connect to the secure websocket from my server app which is signed with a self signed certificate Getting the...
View ArticleBug? Choose file dialog sometimes opens instead of QWebPage.chooseFile call
I emulate clicking file upload button with events, to automate this action. Code of mouse click: # el - upload button el_pos = el.geometry().center() self._page.mainFrame().setScrollPosition(el_pos)...
View ArticleHow to make REST api calls using Qt WebSockets
I am trying to make a simple cryptsy ticker via a socket connection in Qt but I cannot find anything on google that specifically addresses REST api calls (at least recent without depreciated libraries)...
View Article[Qt 5.2] Improving QWebView performance with large amount of data?
I am using QWebView to display a large amount of, continuously growing data. Using QWebElement::appendInside to add more data to the page as needed.Nothing fancy to the HTML, no javascript or images...
View Articleexecution of a JavaScript function into WebView
Into an application that use a WebView I am loading some web content. Trying to execute a JavaScript code that call a alert() window directly into evaluateJavaScript() is fine, but calling it into a...
View ArticleQt WebKit causes performance issue/network traffic spike
I created a browser application using Qt WebKit 4.8.4. Out QA found the application triggers a network traffic spike on wireless network every 5-10 seconds. The VoIP call will drop because of the...
View Articlethe font set by QWebSetting look smaller
i use one QWebview editWebView to edit text ,the code set the QWebView font : settings()->setFontFamily(QWebSettings::StandardFont,"simsun");...
View ArticleQtWebkit 2.3.3 crash when document.all is compared to null in javascript
I am using qtwebkit 2.3.3 built from git against qt 4.8.5 (Windows 7 and Visual Studio 2008). I get a crash with the release version (works in debug) using the previewer example from Qt and loading a...
View Article[Solved]QNetworkAccessManager Upload Image to WebService
Hello, I try to upload an image with QNetworkAccessManager to webServiceREST, and I have no success. I know he works with Delphi. Tested and confirmed. With Qt I load all the bytes to the server, but...
View Article[solved] Multiple webviews with same embedded image problem
I have an application with multiple tabs, each having their own WebView I set HTML using the setHtml() method, and that HTML contains base64 inline images using the data URI scheme (...
View Article[SOLVED] QWebView won't load file from qrc resource
I have a .qrc file in my project, which is basically the default html5 template project, and my web view cannot load my index.html file via qrc. the qrc resources are accessible when I try to open them...
View Article