Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Set Current Working Directory for Visual Studio Projects
Forum Updated to NodeBB v4.3 + New Features

Set Current Working Directory for Visual Studio Projects

Scheduled Pinned Locked Moved Qt Creator and other tools
3 Posts 3 Posters 12.5k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • W Offline
    W Offline
    wamo
    wrote on last edited by
    #1

    Hello,

    i am working on .pro files and generate (later) visual studio project files.

    On every new generation process the old vc project with its settings will be overwritten and all things i changed in the vc project will belost.

    One important Variable i have to set is the current working directory ( Project -> Properties -> Debugging -> Working Directory ) which is by default the project path and not the generated binary path

    Is there a way to set the CWD Path inside the qt .pro file so that it will be applied to the generated vc project?

    1 Reply Last reply
    0
    • F Offline
      F Offline
      Franzk
      wrote on last edited by
      #2

      Not as far as I know. The debugging working path is stored in the .vcproj.SOMEUSER.user file. You can try and see what happens if you copy the .vcproj.SOMEUSER.user to .vcproj.user. A bunch of defaults are then read from that file.

      "Horse sense is the thing a horse has which keeps it from betting on people." -- W.C. Fields

      http://www.catb.org/~esr/faqs/smart-questions.html

      1 Reply Last reply
      0
      • W Offline
        W Offline
        wamo
        wrote on last edited by
        #3

        [quote author="Franzk" date="1320248553"]Not as far as I know. The debugging working path is stored in the .vcproj.SOMEUSER.user file. You can try and see what happens if you copy the .vcproj.SOMEUSER.user to .vcproj.user. A bunch of defaults are then read from that file.[/quote]

        Thats cool. I just tested it with the working directory and it worked well, thanks :)

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved