Results 1 to 2 of 2

Thread: Changing default directory of output files

  1. #1
    Join Date
    Nov 2010
    Posts
    7
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Changing default directory of output files

    Hello.
    I use the QProcess class in order to run external programs.
    The external program is executed successfully, but it is not creating the output file in the destined folder.
    After some search I have found that the file was created in the some folder that the obj files are generated

    Is there an option to change that default output folder?
    I am using the qtcreator environment.

  2. #2
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: Changing default directory of output files

    Processes write into the current working directory if you don't explicitly open a file with a full path: QProcess::setWorkingDirectory()

Similar Threads

  1. Changing the directory of the command prompt
    By Rakula in forum General Programming
    Replies: 3
    Last Post: 21st October 2010, 15:40
  2. Default Project Directory
    By MIH1406 in forum Newbie
    Replies: 8
    Last Post: 8th September 2009, 08:35
  3. Changing default event handler name
    By mabeeh in forum Newbie
    Replies: 1
    Last Post: 21st April 2008, 15:18
  4. changing default QCompleter ?
    By hicpalm in forum Qt Programming
    Replies: 2
    Last Post: 3rd March 2008, 10:49
  5. Replies: 2
    Last Post: 20th July 2007, 16:34

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.