이 페이지에서

모놀리스 프로젝트 빌드

이 튜토리얼에서는 Qt 예제 애플리케이션을 위한 모놀리식 INTEGRITY 프로젝트를 빌드하는 과정을 안내합니다. 지원되는 Qt 모듈을 사용하는 Qt 예제 애플리케이션이라면 어떤 것이든 선택할 수 있습니다.

모놀리식 INTEGRITY 프로젝트를 빌드하기 전에, ` setEnvironment.sh ` 스크립트를 실행하여 빌드 환경을 준비하십시오. 이 스크립트에 대한 자세한 내용은 ‘set 환경 변수 설정 셸 스크립트 생성’을 참조하십시오.

source ~/setEnvironment.sh

Qt 애플리케이션 빌드

  • CMake 도구

    CMake를 사용하여 Qt6 기반으로 애플리케이션을 빌드하려면 터미널에서 다음 명령을 실행하십시오:

    <Qt installation path>/bin/qt-cmake <Qt example application path>/CMakeLists.txt
    cmake --build .

    여기서, ` qt-cmake `는 CMake를 호출하여 적절한 포함 경로로 프로젝트를 구성하는 래퍼 스크립트입니다.

  • qmake 도구

    qmake를 사용하여 Qt6 기반으로 애플리케이션을 빌드하려면 터미널에서 다음 명령을 실행하십시오:

    <Qt installation path>/bin/qmake <Qt example application path>/application.pro
    make

모놀리식 프로젝트 빌드

Qualcomm Snapdragon 8155P 보드용 보드 지원 패키지(BSP)는 보드 파티션용 이미지 세트를 생성하는 빌드 스크립트를 제공합니다:

/work/ghs/sa8155/es7/es7_dev_env/hlos_dev_boot/apps/ghs_apps_proc/build_ghs.sh

monolith-service.int 파일에 Qt 애플리케이션을 추가하여 빌드에 포함시키십시오:

  • MULTI Launcher를 실행합니다.
  • Components > Open Project Manager 을 선택합니다.
  • /work/ghs/sa8155/es7/es7_dev_env/hlos_dev_boot/apps/ghs_apps_proc/qc_bsp 디렉터리 아래에 있는 프로젝트 파일 default.gpj 를 선택합니다:

    프로젝트를 선택하세요.

    MULTI 애플리케이션에 선택한 폴더의 프로젝트 파일 목록이 표시된 창이 나타납니다.

  • Open 를 선택합니다.

MULTI 프로젝트 관리자(Project Manager) 뷰에서 열린 프로젝트의 트리 구조를 확인할 수 있습니다.

default.gpj 하위 프로젝트들을 차례로 살펴봅니다:

  • target.auto vmm-adp-no-gvm-sa8155.gpj > vvm-adp-gvm-ref.gpj > monolith-service.gpj를 차례로 선택합니다. 프로젝트 구조를 확인하고 프로젝트 파일을 편집할 수 있습니다.
  • monolith-service.int 파일을 선택합니다.

    프로젝트 트리.

    선택한 monolith-service.int 파일이 프로젝트 트리에서 강조 표시됩니다.

  • 파일을 마우스 오른쪽 버튼으로 클릭한 다음, 컨텍스트 메뉴에서 ‘ Edit ’를 선택합니다.
  • 파일 끝에 다음 줄을 추가합니다.
    AddressSpace
    Name    myappname
    Filename    /path/to/your/app/executable
    MemoryPoolSize 0x2700000
    Language    C++
    HeapSize    0x90000
    
    Task Initial
    StackSize    0x80000
    StartIt    false
    EndTask
    Extendedmemorypoolsize 0x300000
    EndAddressSpace

    참고: </path/to/your/app/executable> 부분을 애플리케이션 실행 파일의 경로로대체하십시오 .

  • 빌드 스크립트를 실행하십시오.
    bash /work/ghs/sa8155/es7/es7_dev_env/hlos_dev_boot/apps/ghs_apps_proc/build_ghs.sh

이제 모놀리식 프로젝트를 보드에 플래시할 준비가 되었습니다.

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