Qt
[Qt] YAML
깡죠
2018. 8. 23. 16:50
XML,JSON 과같은 데이터를 표현하는 양식이다.
정의
https://doc.qt.io/QtApplicationManager/manifest.html
개요
패키지 정의 파일은 YAML 형식의 info.yaml 로 명명한다. 두개의 YAML 문서로 구성된다.
파일 유형의 헤더와 실제 응용프로그램의 목록
기본 정의
다음 예제는 full-featured 의 info.yaml 파일이다. YAML1.1 을 사용
%YAML 1.1 --- formatVersion: 1 formatType: am-application --- id: 'com.pelagicore.radio' icon: 'FM-Radio.png' name: en: "FM Radio" de: "UKW-Rundfunk" code: "radio.qml" runtime: qml runtimeParameters: { loadDummyData: true } documentUrl: "fm" mimeTypes: [ "x-scheme-handler/x-radio" ] capabilities: - cameraAccess - locationAccess version: '1.2.1-alpha3'
헤더 정보는 다음과 같다.
formatVersion int Currently always 1. (Required)
formattype string always am-application.(Required)
링크
https://moon9342.github.io/what_is_yaml
Manifest : 표명, 선언