Criar soluções que tenham o formato Qt/MSBuild 2
O formato do projeto Qt/MSBuild foi alterado entre as versões do Qt VS Tools.
Para criar soluções que tenham o formato de projeto 2:
- Abra a solução.
- No menu de contexto, vá para Properties > C/C++ > Command Line para definir opções adicionais de linha de comando.
- Em Additional Options, insira as seguintes opções:
/std:c++17 /Zc:__cplusplus /permissive-
- Vá para Extensions > Qt VS Tools > Qt Versions.
- Selecione a versão do Qt para a qual você criou inicialmente o projeto e, em seguida, selecione Default.

Consulte também Adicionar versões do Qt, Converter soluções para o formato mais recente do Qt/MSBuild e Compilação.
© 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.