How to use shell script files ?
Hi,
In my application, I am using a shell script file, which is to be called at runtime.
The thing I really need is I wish to have that file in my source code directory, so that what should i do to get installed that file in a folder where they are accessible at runtime.
Currently those files are accessed from /root partition.
Thanks.
**pc**
Re: How to use shell script files ?
Quote:
Originally Posted by
npc
The thing I really need is I wish to have that file in my source code directory, so that what should i do to get installed that file in a folder where they are accessible at runtime.
Currently those files are accessed from /root partition.
One option is to install the script file into the same directory than the application binary and then use QCoreApplication::applicationDirPath() when referring to the script.
Re: How to use shell script files ?
Fine thank you, I am using same application in Qt 3 also.. is there any similar method in Qt 3.3 ?
Re: How to use shell script files ?
Quote:
Originally Posted by
npc
Fine thank you, I am using same application in Qt 3 also.. is there any similar method in Qt 3.3 ?
Did you try to search the docs of QApplication?