Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Adding website links to application for android.
ixpervision last edited by
WebKit is not available for android currently. I'm looking for different ways to give a link in app. How can ı do this.
Thanks for advance.
You could use a QLabel to a set HTML text to it.
new QLabel("<a href='http://www.google.com'>Google</a>");
and then connect its signal "linkActivated":http://qt-project.org/doc/qt-4.8/qlabel.html#linkActivated to a slot where you can use "openUrl":https://qt-project.org/doc/qt-5.0/qtgui/qdesktopservices.html#openUrl to launch your URL.
On android it should launch the browser.