Erstellen von Lösungen, die das Qt/MSBuild-Format 2 haben
Das Qt/MSBuild-Projektformat hat sich zwischen den Versionen der Qt VS Tools geändert.
So erstellen Sie Lösungen mit dem Projektformat 2:
- Öffnen Sie die Lösung.
- Gehen Sie im Kontextmenü zu Properties > C/C++ > Command Line, um zusätzliche Kommandozeilenoptionen zu setzen.
- Geben Sie unter Additional Options die folgenden Optionen ein:
/std:c++17 /Zc:__cplusplus /permissive-
- Gehen Sie zu Extensions > Qt VS Tools > Qt Versions.
- Wählen Sie die Qt-Version aus, für die Sie das Projekt ursprünglich erstellt haben, und wählen Sie dann Default.

Siehe auch Qt-Versionen hinzufügen, Lösungen in das neueste Qt/MSBuild-Format konvertieren und Bauen.
© 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.