RAJU
RAJU

Reputation: 21

Opening a web browser in Qt mobile application

My application is about opening a desired webpage when a user clicks on a button on the UI. I am developing this application basically for N900. Any suggestion would be appreciated . Thanx in advance

Upvotes: 1

Views: 487

Answers (1)

Kunal
Kunal

Reputation: 3535

if you want to open web page in application then you can use QWebView or if you want to open webpage in external browser you can use QDesktopServices

like this

QDesktopServices::openUrl(QUrl("http://www.google.com", QUrl::TolerantMode));

Upvotes: 1

Related Questions