원격 리눅스 실행 설정 지정
선 택한 키트의 실행 설정을 지정하려면 Projects > Run Settings 로 이동하십시오.
Linux 기반 장치에서 애플리케이션을 실행하고 디버그하려면, 개발 호스트에서 장치로 연결을 생성하고 키트에 장치 구성을 추가해야 합니다. 키트에 장치를 추가하려면 Manage Kits 를 선택하십시오.
애플리케이션을 실행하면 Qt Creator 가 파일을 연결된 디바이스로 복사합니다.
실행 설정에는 개발 호스트와 디바이스에서 실행 파일의 경로가 표시됩니다. 예를 들어, 다른 애플리케이션이 해당 애플리케이션을 실행하도록 지정하려면 ‘ Alternate executable on device ’ 필드에 명령을 입력하고 ‘ Use this command instead ’를 선택하십시오.

Command line arguments 필드에서 애플리케이션에 전달할 인수를 지정할 수 있습니다.
현재 프로젝트에 대한 라이브러리 링크를 비활성화하려면 [ Add build library search path to PATH]을 선택 해제하십시오. 자세한 내용은 ‘링크러 라이브러리’를 참조하십시오.
애플리케이션 UI 보기
' Use X11 forwarding '을 선택하면 로컬 디스플레이에 원격으로 실행 중인 X11 클라이언트가 표시됩니다.
Use the Qt VNC platform for display 를 선택하면 Qt VNC 플랫폼 플러그인을 사용하여 애플리케이션이 렌더링됩니다. Qt Creator 는 애플리케이션에 대한 QT_QPA_PLATFORM=vnc 환경 변수를 설정합니다. VNC 클라이언트로 애플리케이션 UI에 연결하려면 Application Output 보기에서 IP 주소와 포트를 확인하십시오.
다른 사용자로 실행
Linux 및 macOS에서는 Run as user 에서 ‘ Default ’, ‘ root ’ 또는 ‘ Other ’을 선택하여 다른 권한으로 애플리케이션을 빌드, 배포 및 실행할 수 있습니다.
‘프로젝트에 대한 키 활성화’, ‘실행을 위한 프로젝트 구성’, ‘방법: 원격 Linux용 개발’, ‘원격 Linux 장치용 개발’ 및 ‘키 관리’도 참조하십시오 .
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.