Results 1 to 2 of 2

Thread: QT Service and working directory

  1. #1
    Join Date
    Jan 2006
    Posts
    122
    Thanks
    16
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default QT Service and working directory

    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

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QT Service and working directory

    You can change the ordinary working directory using QDir::setCurrent().

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.