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

    • Bug
    • Resolution: Fixed
    • Not Evaluated
    • None
    • 2.6.0 (rev.18), 2.7.0, 2.7.1
    • Build-time integration
    • Microsoft Visual Studio Community 2019 Version 16.9.0 (latest)
    • Windows
    • c87bf6379 (dev)

    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

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes