[SailfishDevel] How to open the default browser from a button click

Artem Marchenko artem.marchenko at gmail.com
Wed Nov 27 14:32:42 UTC 2013


openUrlExternally is your friend -
http://qt-project.org/doc/qt-5.0/qtqml/qml-qt.html#openUrlExternally-method

I don't think it works on emulator yet (so I am just opening a new page
with a web view inside), but probably works on a real device where there is
a real browser app.

Cheers,
Artem.


On Wed, Nov 27, 2013 at 4:25 PM, Damien Caliste <dcaliste at free.fr> wrote:

> Hello,
>
>    How in QML, do I open the default environement browser at a given
> url from the onClicked of a Button ?
>
> Thanks in advance,
>
> Damien.
> _______________________________________________
> SailfishOS.org Devel mailing list
>



-- 
Artem Marchenko
http://agilesoftwaredevelopment.com
http://twitter.com/AgileArtem
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.sailfishos.org/pipermail/devel/attachments/20131127/adebf655/attachment.html>


More information about the Devel mailing list