[Qt-interest] How to open Outlook when 'email' button is clicked

Brad Hards bradh at frogmouth.net
Fri Jan 2 08:20:10 CET 2009


On Friday 02 January 2009 05:23:20 pm Avishek_Sharma wrote:
> I have an 'email' push button on a dialog and I want that when I click
> it,it should open up 'Outlook express' .How do I do that? Please advice.
If you want it to be outlook express (or nothing), use QProcess.

If you'd prefer to use the client's preferred email package (and you almost 
certainly should), use QDesktopServices. See:
http://doc.trolltech.com/4.4/qdesktopservices.html#openUrl

Brad




More information about the Qt-interest-old mailing list