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

Visual Studio 2017 Property Sheets not working with Qt projects

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • 2.4.2 (rev.09), 2.4.3
    • 2.4.1 (rev.12)
    • None
    • Visual Studio 2017
      Qt 5.5.1
    • Windows
    • 1a93741cadaa26b49cc4dc02d09ea7249cbea6fe

    Description

      This seems to be the same issue as described in QTVSADDINBUG-662 but doesn't seem to be fixed in QT VS Tools 2.4.1 (rev 12)

      Steps to reproduce:

      1. Create a new Qt project using the QT VS Tools
      2. Add a property sheet to this project
      3. Define e.g. the output path in the included property sheet
      4. Open up the project properties, select "inherit from parent" for the Output Path

      Now it should show the output path inherited from the property sheet, but instead it shows the VS default:

       

      I've noticed that if you remove the following lines from the vcxproj file, the property sheet is loaded correctly:

      <PropertyGroup Condition="'$(QtMsBuild)'=='' or !Exists('$(QtMsBuild)\qt.targets')">
          <QtMsBuild>$(MSBuildProjectDirectory)\QtMsBuild</QtMsBuild>
        </PropertyGroup>
       <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" />
       <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" />
      

      So this may very well be caused by the order of properties as explained in QTVSADDINBUG-662.

       

      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