PDA

View Full Version : QT Service and working directory



Lele
23rd January 2006, 12:30
Hi all,
I'm turning an application in a service using Qt Solutions.
When starting the default directory is Win32, how is it possible to set the application working directory in order to use all the dll's and envirovment there?
The only method that accept a path in QApplication is addLibraryPath but I guess is just for libraries.
Any help is appreciated.
thanks

jacek
23rd January 2006, 12:46
You can change the ordinary working directory using QDir::setCurrent().