Kompilering med GN
GN (Generate Ninja) er et meta-build-system, der genererer build-filer til Ninja.
Bemærk: Du skal aktivere udvidelsen " GN " for at kunne bruge det.
Åbn GN-projekter
For at åbne GN-projekter skal du gå til File > Open Project og derefter vælge filen BUILD.gn fra dit projekt.
Tilføj GN-værktøjer
Sådan angiver du stier til GN-eksekverbare filer:
- Vælg Preferences > GN > Tools > Add.

- I " Name" skal du angive et navn til værktøjet.
- I Path skal du angive stien til GN-eksekverbarfilen.
- Vælg " Apply " for at gemme dine ændringer.
Tilføj GN-værktøjer til kits
Sådan bruger du GN til at kompilere projekter:
- Gå til " Preferences " > " Kits " > " Kits".
- Vælg et kit, der skal redigeres.
- I GN Tool skal du vælge et GN-værktøj.

- Aktivér sæt til projektet.
Se Administrering af kits for yderligere oplysninger.
Se også Aktivér udvidelser og Aktivér kits til et projekt.
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.