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

VS 2019 project property: Intermediate directory ignored

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: Not Evaluated
    • Resolution: Unresolved
    • Affects Version/s: 2.6.0 (rev.18), 2.7.0, 2.7.1
    • Fix Version/s: None
    • Component/s: Qt/MSBuild
    • Labels:
      None
    • Environment:
      Microsoft Visual Studio Community 2019 Version 16.9.0 (latest)
    • Platform/s:
      Windows

      Description

      Building a Qt project in Visual Studio 2019 the intermediate build directory is ignored which can be set under:

      Project > Properties > Configuration Properties > General > IntermediateDirectory

      If the intermediate directory is changed or set manually then all *.obj files will NOT be placed there.

      To reproduce this bug open a Qt project *.pro file in Qt Visual Studio Tools 2019. After opening the resulting converted Visual Studio project *.vcproj file go to the above mentioned project "IntermediateDirectory" property and set it manually for example to c:\temp directory. After building the project there won't be any *.obj files in c:\temp directory.

      For testing just take any Qt Example project for example: ../Examples/Qt 6.x.x/widgets/mainwindows/sdi/sdi.pro.

      This might be a regression. Because I can't remember to got this problem using prior Qt Visual Studio Tools <= 2.5.x versions.

      For non Qt projects In Visual Studio 2019 changing the "IntermediateDirectory" to a specific location works fine.

        Attachments

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

          Activity

            People

            Assignee:
            mecfc Miguel Costa
            Reporter:
            mireiner Chris
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes