Compilação com o GN
O GN (Generate Ninja) é um sistema de meta-compilação que gera arquivos de compilação para o Ninja.
Observação: ative a extensão “ GN ” para usá-lo.
Abrir projetos GN
Para abrir projetos GN, acesse File > Open Project e, em seguida, selecione o arquivo BUILD.gn do seu projeto.
Adicionar ferramentas GN
Para especificar caminhos para os executáveis do GN:
- Selecione “ Preferences ” > “ GN ” > “ Tools ” > “ Add ”.

- Em “ Name ”, especifique um nome para a ferramenta.
- Em “ Path ”, especifique o caminho para o executável do GN.
- Selecione “ Apply ” para salvar suas alterações.
Adicionar ferramentas GN aos kits
Para usar o GN na compilação de projetos:
- Acesse “ Preferences ” > “ Kits ” > “ Kits ”.
- Selecione um kit para editar.
- Em GN Tool, selecione uma ferramenta GN.

- Ative o kit para o projeto.
Para obter mais informações, consulte Gerenciamento de kits.
Consulte também Ativar extensões e Ativar kits para um projeto.
Copyright © The Qt Company Ltd. and other contributors. 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.