PDA

View Full Version : Open URL on Non Default Browser



sheeeng
29th May 2009, 07:27
Hi,

How do I opens an URL in a QLabel using non default browser?

E.g.

Default Browser is Mozilla Firefox. But, I want to open the URL using Internet Explorer only.

Please advice.

Thanks in advance.

wysota
29th May 2009, 08:02
Connect to the linkActivated() signal in the label and call your browser there using QProcess::startDetached().

sheeeng
27th July 2009, 04:29
Connect to the linkActivated() signal in the label and call your browser there using QProcess::startDetached().

Thanks, wysota. Do you have an example on that?

wysota
27th July 2009, 07:34
Thanks, wysota. Do you have an example on that?

I'm sure you can find lots of examples of connecting signals in the Qt reference manual.