이 페이지에서

동적 다운로드 프로젝트 빌드 및 플래싱

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

Qt 애플리케이션 빌드 환경 준비

INTEGRITY 프로젝트를 빌드하기 전에 빌드 환경을 준비해야 합니다. Windows CMD 터미널에서 ` setEnvironment.bat ` 스크립트를 실행하십시오. 스크립트에 대한 자세한 내용은 Windows 10용 배치 스크립트 만들기를 참조하십시오.

setEnvironment.bat

Qt 예제 애플리케이션 빌드

CMake를 사용하여 Qt 6 애플리케이션을 빌드하려면 Windows CMD 터미널에서 다음 명령을 실행하십시오.

"Qt installation path>\bin\qt-cmake.bat" CMakeLists.txt -GNinja
-DCMAKE_PREFIX_PATH="C:\Users\user\targetbuild"
-DQt6_DIR="C:\Users\user\targetbuild\lib\cmake\Qt6"
-DQt6Core_DIR="C:\Users\user\targetbuild\lib\cmake\Qt6Core"
-DQt6Gui_DIR="C:\Users\user\targetbuild\lib\cmake\Qt6Gui"

 cmake --build .

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

MULTI에서 동적 다운로드 프로젝트 생성

  • MULTI 런처를 실행하고 ‘ File > Create workspace ’을 선택합니다.
  • 생성 창 모드에서 ‘ New Project ’를 선택하고 ‘ OK ’를 클릭합니다.
  • ' Project Wizard' 대화 상자에서 새 프로젝트를 생성할 경로(예: C:\Users\user\Documents\My Projects\Project1\default.gpj )를 선택하고 ' Next'를 클릭합니다.
  • Operating System 대화 상자에서 INTEGRITY를 선택하고 Next 를 클릭합니다.

    프로젝트 생성 대화 상자.

  • Finish 를 선택합니다.

    Qualcom 보드 생성 창 대화상자.

  • Create New > Dynamic Download > Next 을 선택합니다.
  • Settings For Dynamic Download > Finish 을 선택합니다.

    프로젝트 트리 보기.

동적 다운로드 프로젝트 구축

  • 프로젝트 트리에서 myproject.int 파일을 편집하고 저장합니다:
    AddressSpace
      Name qtapp
      Filename C:\path\to\your\qt\app\binary
      MemoryPoolSize 0x2700000
      Language C++
      HeapSize 0x90000
      Task Initial
        StackSize 0x90000
        StartIt false
      EndTask
      Extendedmemorypoolsize 0x300000
    EndAddressSpace
  • ' multi_commands'라는 새 파일을 생성하고 다음 명령어를 추가합니다:
    switch -component "debugger.task.qtapp.Initial"
    route "debugger.task.qtapp.Initial" { __ntwcommand prepare_target }
    wait -load
    switch -component "debugger.task.qtapp.Initial"
    route "debugger.task.qtapp.Initial" { __ntwcommand resume }
    wait -time 240000 -stop
    switch -component "debugger.task.qtapp.Initial"
    unload myproject
    wait -time 8000 -stop
    savedebugpane cmd "autotestresult.txt"
    quitall
  • Windows CMD 터미널에서 빌드 및 로딩 명령을 실행합니다:
    multi.exe "C:\Users\user\Documents\My Projects\Project1\default.gpj" -build myproject &
    multi.exe "C:\Users\user\Documents\My Projects\Project1\dbg\bin\myproject" -connect="rtserv2 192.168.1.1" -p C:\Users\user\multi_commands &

    MULTI IDE 바이너리 로드 창.

    참고: "rtserv2 192.168.1.1" 은 보드의 IP 주소입니다. 보드 네트워크를 설정하려면 '배선 설정'을 참조하십시오.

    참고: 동적 다운로드(Dynamic Download)를 통한 배포에는 몇 분이소요됩니다 .

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