How to open url in default webbrowser ?
Hi
I am using QT4.3.4 on mac os, To open url I used
Code:
QLabel property setOpenExternalLinks
( bool open
)
When i login as a root user then it opens the link in the default web browser, but when i login as a admin user then i wont opens it in the default web browser that is set.
Can u pls tell me , how can i open url in default web browser.
Thanks
Re: How to open url in default webbrowser ?
Try with QDesktopServices::openUrl.
I cannot try in MacOS but it should be platform independent
Re: How to open url in default webbrowser ?
Thanks for the reply but
QLabel::OpenExternalLinks() Specifies whether QLabel should automatically open links using QDesktopServices::openUrl()