[SailfishDevel] Big images in qml rich text
Hi, I have a problem with jolla2gether app when question includes big image. App is showing text as rich text with qml html markup i..e images are shown as img. If image size in very big it will jam not only the app but whole phone until it reboots itself. Any way to prevent? img tag supports only width and height attributes and those does not help the situation. Example of such together link: https://together.jolla.com/question/97469/how-to-replace-earreceiver-speaker/ Br -Samuli ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
Re: [SailfishDevel] Prefill Username and Password in HTML Form / QWebFrame not found
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 yur...@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-unsubscr...@lists.sailfishos.org -- Amilcar (djditz in the mix... ;) ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
Re: [SailfishDevel] Prefill Username and Password in HTML Form / QWebFrame not found
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 also the webcat/qml/pages/helper/devicePixelRatioHack.js (it creates a query before to injecting the 'hack') B.g. Amilcar 2015-07-29 13:49 GMT+01:00 yurumi yur...@gmx.de: 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 yur...@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-unsubscr...@lists.sailfishos.org -- Amilcar (djditz in the mix... ;) ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org -- Amilcar (djditz in the mix... ;) ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
Re: [SailfishDevel] Prefill Username and Password in HTML Form / QWebFrame not found
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 yur...@gmx.de mailto:yur...@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-unsubscr...@lists.sailfishos.org mailto:devel-unsubscr...@lists.sailfishos.org -- Amilcar (djditz in the mix... ;) ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org