Uploaded image for project: 'Qt Visual Studio Tools'
  1. Qt Visual Studio Tools
  2. QTVSADDINBUG-752

Don't write QTDIR to the *.vcxproj.user file

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Done
    • Not Evaluated
    • 3.0.2
    • None
    • Build-time integration
    • None
    • Visual Studio 2017

    • Windows
    • 68a3c6d4675c63fea549ff91b3324de258fd641d

    Description

      We are using MSBuild property sheets / environment variables to set the proper QTDIR directory for every project on every developer workstation.

      This works all well and fine until an active code workspace is moved to another machine (e.g. when code resides on a external hard drive), because the Qt plugin ends up writing a copy of QTDIR into the *.vcxproj.user files, and of course they don't get updated once the "actual" QTDIR changes because the project files have been moved around.

      To me it seems like Qt would just fine without this entry, as QTDIR is already set anyhow.

      Removing this entry or at least adding an option to not write this entry would make our life a bit easier, because we wouldn't have to delete each and every *.user file from the entire source tree after moving it to another machine.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            mecfc Miguel Costa
            fgross Florian Groß
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes