이 페이지에서

오토툴

오토툴즈를 사용하면 간단한 지침을 통해 휴대 가능하고 완전한 독립형 GNU 빌드 시스템을 만들 수 있습니다.

Qt Creator 오토툴즈 빌드 시스템을 사용하는 프로젝트를 열 수 있습니다. Qt Creator 에서 직접 프로젝트를 빌드하고 실행할 수 있습니다.

참고: AutotoolsProjectManager 플러그인을 사용하려면 활성화하세요.

Autotools 프로젝트 작업하기

Qt Creator 에서 Autotools 프로젝트로 작업하려면 다음과 같이 하세요:

  1. File > Open File or Project 을 선택합니다.
  2. 프로젝트에서 Makefile.am 파일을 선택합니다. 이 방법만이 Autotools 플러그인을 사용할 수 있는 유일한 방법입니다.
  3. 빌드 디렉터리를 선택합니다. 현재 소스 내 빌드만 지원됩니다.
  4. Finish 을 선택합니다. Qt Creator 프로젝트 트리 구조가 표시됩니다. 루트 노드에는 프로젝트 이름이 표시됩니다. 모든 프로젝트 파일이 그 아래에 나열되며 목록에서 열 수 있습니다.

    프로젝트 및 파일 시스템 사이드바 보기와 편집기에서 열린 자동 도구 프로젝트

  5. 실행 (Run)를 선택하여 미리 정의된 빌드 단계(autogen.sh 또는 autoreconf, configure, make)를 실행합니다.

    애플리케이션을 처음 실행할 때는 실행 파일을 선택해야 합니다.

  6. 자동 도구 빌드 단계를 확인하고 편집하려면 Projects > Build Settings 을 선택합니다.

    미리 정의된 자동 도구 빌드 단계에 매개 변수를 추가할 수 있습니다.

    자동 도구 빌드 설정

플러그인 활성화 및 비활성화도참조하세요 .

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.