[Qt-interest] Search and launch Application

Rahulkumar Tibdewal rahulkumar_tibdewal at persistent.co.in
Wed May 20 16:54:27 CEST 2009


> 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.

I am not very sure about Linux stuff. I work on Windows and Mac OS.

We can For sure change the path of application path on MAC. 
And on windows it happens in few cases.

Thanks for interest. 

However the problem is still open as 

> 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.

Thanks
Rahul



-----Original Message-----
From: qt-interest-bounces at trolltech.com [mailto:qt-interest-bounces at trolltech.com] On Behalf Of Srdjan Todorovic
Sent: Wednesday, May 20, 2009 8:06 PM
To: qt-interest
Subject: Re: [Qt-interest] Search and launch Application

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
_______________________________________________
Qt-interest mailing list
Qt-interest at trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-interest

DISCLAIMER
==========
This e-mail may contain privileged and confidential information which is the property of Persistent Systems Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Ltd. does not accept any liability for virus infected mails.




More information about the Qt-interest-old mailing list