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

yurumi yurumi at gmx.de
Wed Jul 29 12:49:15 UTC 2015


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,
Thomas


On 29.07.2015 14:29, Amilcar Santos wrote:
> From docs:
> Header: 	#include <QWebFrame>
> 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 <yurumi at gmx.de <mailto:yurumi at gmx.de>>:
>
>     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 <QWebFrame>. The result is a compile
>     error (fatal error: QWebFrame: No such file or directory).
>     Compiling an
>     example for the desktop target works, so I wonder where the problem
>     might be.
>
>     Any help or suggestions on how to solve the original task is highly
>     appreciated!
>
>     Cheers,
>     Thomas
>     _______________________________________________
>     SailfishOS.org Devel mailing list
>     To unsubscribe, please send a mail to
>     devel-unsubscribe at lists.sailfishos.org
>     <mailto:devel-unsubscribe at lists.sailfishos.org>
>
>
>
>
> -- 
> Amilcar
> (djditz in the mix... ;)
>
>
>
> _______________________________________________
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to devel-unsubscribe at lists.sailfishos.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.sailfishos.org/pipermail/devel/attachments/20150729/71804f0b/attachment.html>


More information about the Devel mailing list