Attention: Here be dragons
This is the latest
(unstable) version of this documentation, which may document features
not available in or compatible with released stable versions of Godot.
Checking the stable version of the documentation...
Qt Creator
`Qt Creator <https://doc.qt.io/qtcreator/index.html>`_은 모든 데스크톱 플랫폼을 위한 무료 오픈 소스 IDE입니다.
프로젝트 가져오기
Qt Creator의 메인 화면에서 New 프로젝트 > Import 프로젝트 > Import Existing 프로젝트를 선택합니다.
위치에서 Godot 루트 폴더를 선택하세요.
다음으로, 프로젝트에 표시할 폴더와 파일을 선택할 수 있습니다. C/C++ 파일은 자동으로 추가되지만 다른 확장 프로그램도 잠재적으로 유용할 수 있습니다. 셰이더 파일의 경우
*.glsl, 빌드 시스템 파일의 경우*.py, Android 플랫폼 개발의 경우*.java, macOS 플랫폼 개발의 경우*.mm.
참고
나중에 프로젝트를 마우스 오른쪽 버튼으로 클릭하고 파일 편집... 옵션을 선택하여 이 구성을 변경할 수 있습니다.
가져오기를 완료합니다.
project_name.includes파일을 열고.가 포함된 줄을 추가하여 코드 완성을 올바르게 활성화합니다.
왼쪽 메뉴에서 프로젝트를 선택하고 빌드 탭을 엽니다.
사전 정의된
make빌드 단계를 삭제합니다.
빌드 단계 추가 > 사용자 정의 프로세스 단계를 클릭하여 다음 설정으로 새 빌드 단계를 추가합니다.
명령
스콘
인수
godot의 UI 시스템이 어떻게 작동하는지 알아보려면 :doc:'ui_introduction_to_the_ui_system'를 먼저 읽어보세요.
참고
Could not start process "scons"로 인해 빌드가 실패하면 scons가 PATH 환경 변수에 없음을 의미할 수 있습니다. 이 경우 SCons 바이너리의 전체 경로를 지정해야 합니다.
프로젝트 준비하기
왼쪽 메뉴에서 Projects를 선택하고 Run 탭을 엽니다.
Under Executable specify the path to your executable located in the
<Godot root directory>/binfolder. The name depends on your build configuration, e.g.godot.linuxbsd.editor.dev.x86_64for 64-bit LinuxBSD platform withplatform=editoranddev_build=yes. You can use%{buildDir}to reference the project root, e.g.,%{buildDir}/bin/godot.linuxbsd.editor.dev.x86_64.특정 프로젝트를 실행하려면 작업 디렉터리 아래에 해당 루트 폴더를 지정하세요.
편집기를 실행하려면 명령줄 인수 필드에
-e를 추가하세요.
명령줄 인수에 대해 자세히 알아보려면 명령줄 튜토리얼을 참조하세요.
코드 스타일 구성
Developers must follow the project's code style and the IDE should help them follow it.
Open Preferences > C++ > Code Style.
Set the Formatting mode to Full formatting to instruct Qt Creator to use the
.clang-formatfile supplied in Godot's root folder:
Specify when you want
clang-formatto run (either while typing or when you saving the file). It is recommended to enable formatting on save at least.
같은 Godot 웹사이트 페이지에서 참고하세요.