이 페이지에서

Qbs

Qbs는 (qmake나 CMake와 마찬가지로) 상위 수준의 프로젝트 설명에서 빌드 그래프를 생성하고, (make와 마찬가지로) 하위 수준의 빌드 그래프에 포함된 명령어를 실행하는 올인원 빌드 도구입니다.

Qbs를 사용하여 프로젝트를 빌드하려면 해당 프로젝트에 대한 ` .qbs ` 파일을 생성해야 합니다. ` Qt Creator `를 사용하여 Qbs로 빌드되는 C 또는 C++ 프로젝트를 생성할 수 있습니다. Qbs에 대한 자세한 내용은 Qbs 매뉴얼을 참조하십시오.

애플리케이션은 빌드 및 실행 키트와 연결된 기본 Qbs 프로필을 사용하여 빌드됩니다. Qt Creator 는 각 키트에 대해 Qbs 프로필을 자동으로 생성합니다. 새로운 키와 값을 추가하여 빌드 프로필을 편집할 수 있습니다.

사용 중인 Qbs 버전을 확인하려면 ‘ Preferences ’ > ‘ Qbs ’ > ‘ General ’을 선택하십시오.

Qbs 빌드

Qt Creator Git 저장소에서 Qt Creator 을 직접 빌드하는 경우, Qbs 지원을 받으려면 Qbs 서브모듈도 가져와야 합니다:

  1. Qt Creator git 체크아웃에서 git submodule update --init 명령을 사용하여 Qbs 서브모듈을 가져옵니다.
  2. Qt Creator 에서 qmake를 실행하고 Qt Creator 를 다시 빌드하십시오.

‘빌드 시스템 선택’, ‘프로젝트 열기’, ‘Qbs 프로필 디렉터리 설정’, ‘Qbs 빌드 구성’ 및 ‘실행 설정 지정’항목도 참조하십시오 .

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.