Re: [SailfishDevel] Prefill Username and Password in HTML Form / QWebFrame not found

2015-07-29 Thread Amilcar Santos
My best guess is: go through WebView document + Javascript: Here's an example from Webcat project (FirstPage.qml): webview.experimental.evaluateJavaScript("document.body.style.backgroundColor=\"#262626\"; document.body.style.color=\"#FF\""); https://github.com/llelectronics/webcat/ Check

Re: [SailfishDevel] Prefill Username and Password in HTML Form / QWebFrame not found

2015-07-29 Thread yurumi
Thanks for the reply! Adding webkitwidgets results in: Project ERROR: Unknown module(s) in QT: webkitwidgets I tried this before but thought it was some Qt 4.X stuff because of the error message. So maybe QWidgets *are* permitted? In that case, what would be an alternative approach? Cheers, Th

Re: [SailfishDevel] Prefill Username and Password in HTML Form / QWebFrame not found

2015-07-29 Thread Amilcar Santos
>From docs: Header: #include qmake: QT += webkitwidgets Since: Qt 4.4 Inherits: QObject As far as I known, dependencies with QWidgets aren't permitted in Sailfish OS. B.G. Amilcar 2015-07-28 22:57 GMT+01:00 yurumi : > Hi all, > > I would like to load a web page and programmatically fill in a u

[SailfishDevel] Prefill Username and Password in HTML Form / QWebFrame not found

2015-07-28 Thread yurumi
Hi all, I would like to load a web page and programmatically fill in a username and password. One possibility seems to be the usage of QWebFrame::findFirstElement(). As mentioned in the Docs, I added "QT += webkit" in my .pro and included . The result is a compile error (fatal error: QWebFrame: No