HarmonyOS 기기 연결
Qt Creator SDK의 ` hdc `를 통해 HarmonyOS 기기를 검색하므로, ` hdc `에 나열된 기기는 별도의 구성이 필요하지 않습니다.
- 기기에서 무선 디버깅을 켜고, 표시되는 주소와 포트를 기록해 둡니다. 포트는 매번 바뀝니다.
- 명령줄에서 SDK의 `
hdc`를 사용하여 기기에 한 번 연결해 보십시오:hdc tconn <address>:<port> hdc list targets
- Preferences > Devices > Devices 로 이동합니다. 해당 기기가 표시되며, 기기 페이지에는 사용 준비가 완료되었다고 표시됩니다.
소스 코드와 툴체인이 기기 자체에 있는 프로젝트의 경우, HarmonyOS 기기가 빌드 기기로도 제공됩니다.
키트 생성
Preferences > Kits > Qt Versions > Add 에서 Qt for HarmonyOS를 등록하고, 해당 qmake 를 선택하십시오. Qt Creator 를 실행하면 해당 기기를 실행 기기로, SDK의 컴파일러를 사용하여 키트가 생성되며, 추가 편집은 필요하지 않습니다.
‘HarmonyOS 기기용 개발’, ‘방법: HarmonyOS용 개발’, ‘방법: 키트 관리’ 및 ‘키트 관리’항목도 참조하십시오 .
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.