수행기록퀘스트5

퀘스트 5/7 - QT Layer 추가 및 빌드
2020. 5. 21 (목) 21:59 김경* 조회 298 좋아요 0 스크랩 0 댓글 0

1. bitbake를 실행하여 성공한 결과 화면 제출

 

 


2. Desktop에서 Hello world 예제 실행 화면 제출

 


3. 보드 LCD에 출력된 Hello world 예제 실행 화면 제출

 

 


4. Hello World 예제 소스코드 제출

 

import QtQuick 2.9
import QtQuick.Window 2.2

Window {
    visible: true
    x: 0
    y: 0
    width: 480
    height: 800

    Rectangle {
        id: rectangle
        x: 40
        y: 250
        width: 400
        height: 300
        color: "#fcaf3e"
        rotation: -90

        Text {
            id: element
            x: 59
            y: 44
            color: "#000000"
            text: qsTr("Hello World")
            font.family: "Arial"
            font.bold: true
            font.pixelSize: 50
        }

        Image {
            id: image
            x: 115
            y: 196
            width: 170
            height: 60
            fillMode: Image.PreserveAspectFit
            source: "logo.png"
        }
    }
}

 

로그인 후
참가 상태를 확인할 수 있습니다.