Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-57435

qmake vcxproj generator use incorrect PlatformToolset parameter

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.9.0 Beta 2
    • 5.6.0
    • Build tools: qmake
    • None
    • MSVS 2015, Qt 5.6.0
    • 29a929668b832a3fceda69a5c5f2d07b796a3fc8

    Description

      Visual Studio and msbuild both use vcxproj project files.
      The <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> section should contains a parameter <PlatformToolset> (for examle: <PlatformToolset>v140</PlatformToolset>). But qmake -tp vc generates vcxproj with deprecated <PlatformToolSet> parameter which come from VS2008 vcproj.
      For now VS2015 and msbuild14 support both <PlatformToolset> and <PlatformToolSet>, but:
      1) Support for <PlatformToolSet> will be droped in the future
      2) Lots of VS extensions and plug-ins which are working with vcxproj expect <PlatformToolset> only. And they don't work with projects generated by qmake

      Attachments

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

        Activity

          People

            jbornema Joerg Bornemann
            nikolaynnov Andrey
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes