Qt Creator

Qt Creator is a free, open source IDE for all desktop platforms.

Importation du projet

  • From the Qt Creator’s main screen select New Project > Import Project > Import Existing Project.
  • Under Location select the Godot root folder.
  • Next, you can choose which folders and files will be visible to the project. While C/C++ files are added automatically, other extensions can be potentially useful: *.py for buildsystem files, *.java for Android platform development, *.mm for macOS platform development.


You can change this configuration later by right-clicking on your project and selecting the Edit Files… option.

  • Finish the import.
  • Open the project_name.includes file and add a line containing . to it to correctly enable the code completion.
  • From the left-side menu select Projects and open the Build tab.
  • Supprimer l’étape de construction prédéfinie make.
  • Click Add Build Step > Custom Process Step to add a new build step with the following settings:

    Commande scons
    Arguments See Introduction au buildsystem for a full list of arguments.


If the build fails with Could not start process "scons", it can mean that scons is not in your PATH environment variable. In this case, you’ll have to specify the full path to the SCons binary.

Debugging the project

  • From the left-side menu select Projects and open the Run tab.
  • Under Executable specify the path to your executable located in the <Godot root directory>/bin folder. The name depends on your build configuration, e.g. godot.x11.tools.64 for 64-bit X11 platform with tools enabled. You can use %{buildDir} to reference the project root, e.g: %{buildDir}/bin/godot.x11.opt.tools.64.
  • If you want to run a specific project, specify its root folder under Working directory.
  • Si vous voulez exécuter l’éditeur, ajoutez -e au champ Command line arguments.

Pour en savoir plus sur les arguments de la ligne de commande, reportez-vous au tutoriel de la ligne de commande.

Configuration du style de code

Developers must follow the project’s code style and the IDE should help them follow it. By default, Qt Creator uses spaces for indentation which doesn’t match the Godot code style guidelines. You can change this behavior by changing the Code Style in Options > C++.


Cliquez sur Edit pour modifier les paramètres actuels, puis cliquez sur le bouton**Copy Built-in Code Style** pour définir un nouveau style de code. Donnez-lui un nom (par exemple, Godot) et modifiez la politique de tabulation pour qu’elle soit Tabs Only.


Si vous rencontrez des problèmes, demandez de l’aide sur l’un des canaux communautaires de Godot.