Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-27039

Cannot specify platform for modern cmake msvs generator

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • Qt Creator 6.0.2
    • None
    • All

    Description

      QtCreator forms incorrect generator string. Ok, it's correct for msvs 2017 generator, but not for msvs 2019 generator.

      For example, 

      Here QtCreator creates string

       "-GVisual Studio 16 2019 -A Win32"

      but it's incorrect for msvs 2019.

      Generators
      * Visual Studio 16 2019 = Generates Visual Studio 2019 project files.
      Use -A option to specify architecture.
      Visual Studio 15 2017 [arch] = Generates Visual Studio 2017 project files.
      Optional [arch] can be "Win64" or "ARM".

      QtCreator should create string

       -G "Visual Studio 16 2019" -A "Win32"

      for msvs 2019+

      Attachments

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

        Activity

          People

            cadam Cristian Adam
            jihadist Anton null
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes