시작하기

VS Code용 Qt 익스텐션이 Qt 설치 및 CMake 키트를 찾을 수 있는지 확인하려면, 빌드 및 실행을 위해 Qt 예제를 엽니다.

VS Code에서 Qt 예제 빌드 및 실행하기.

VS Code에서 Qt 예제 프로젝트를 열고 실행하려면 다음과 같이 하세요:

  1. VS Code용 Qt 익스텐션을 설치합니다.
  2. Qt 설치에서 Qt 예제( CMakeLists.txt 파일이 있는)가 포함된 폴더를 엽니다.
  3. Command Palette 로 이동하여 Qt: Register Qt installation 을 선택하여 Qt 버전을 등록합니다.
  4. Command Palette 로 이동하여 Qt: Set the recommended Qt Extension settings 을 선택하면 상태 표시줄에 등록된 Qt CMake 키트가 표시됩니다.
  5. Command Palette 로 이동하여 Qt: Scan for kits 을 선택합니다. 그런 다음 Qt 버전 및 툴체인과 일치하는 키트를 선택합니다.
  6. 상태 표시줄에서 터미널 창에서 선택한 대상을 실행합니다. 을 선택합니다.
  7. 실행 파일을 실행 대상으로 선택하여 프로젝트를 빌드하고 실행합니다.

이제 따라할 튜토리얼을 선택하여 Qt 애플리케이션 개발에 대해 배울 수 있습니다. 프로젝트 마법사 템플릿을 사용하여 나만의 애플리케이션 프로젝트를 만들 수 있습니다.

설치, Qt 설치 등록, 튜토리얼Qt 프로젝트 생성도참조하십시오 .

© 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.