Construir soluciones que tengan el formato Qt/MSBuild 2

El formato de proyecto Qt/MSBuild ha cambiado entre las versiones de Qt VS Tools.

Para construir soluciones que tienen formato de proyecto 2:

  1. Abra la solución.
  2. En el menú contextual, vaya a Properties > C/C++ > Command Line para configurar opciones adicionales de la línea de comandos.
  3. En Additional Options, introduzca las siguientes opciones: /std:c++17 /Zc:__cplusplus /permissive-

    Opciones adicionales de la línea de comandos

  4. Vaya a Extensions > Qt VS Tools > Qt Versions.
  5. Seleccione la versión de Qt para la que creó inicialmente el proyecto y, a continuación, seleccione Default.

    Versiones de Qt

Véase también Añadir versiones de Qt, Convertir soluciones al último formato Qt/MSBuild y Construir.

© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.