[Qt-interest] Search and launch Application
Srdjan Todorovic
todorovic.s at googlemail.com
Wed May 20 16:36:06 CEST 2009
Hi,
On 20/05/2009, Rahulkumar Tibdewal <rahulkumar_tibdewal at persistent.co.in> wrote:
> I want to launch the particular application on my machine using Qt code.
> For example if I am working on MAC OS X and wish to launch iTunes.
> Or if I am working on Windows and I wish to launch Windows media player.
> So basically If we are provided with the name of application then
>
> 1. Search the application
>
> 2. Launch the application.
>
>
> Can anyone give me clues on this topics.
Linux uses applications that are in the path, or you have to specify
the exact path to the application. I think this is also the same with
Windows. Not sure about Mac.
So I guess you either have to know your application's full path, or
make sure that the path to the application is in the system path.
I'm not sure if there's any kind of automated application discovery
protocol to let you search for applications (think Zeroconf for
locating applications...).
Hope that helps,
Srdjan
More information about the Qt-interest-old
mailing list