summaryrefslogtreecommitdiffstats
path: root/examples/multimedia/declarative-camera/permission-denied.qml
blob: 19eb58eadbd74f1034323e498bcf6da58cb59757 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Copyright (C) 2024 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause

import QtQuick


Rectangle {
    color: "black"
    width: 800
    height: 600

    Text {
        anchors.fill: parent
        text: qsTr("Grant the camera permission and restart the app")
        color: "white"
        font.pointSize: 20
        horizontalAlignment: Text.AlignHCenter
        verticalAlignment: Text.AlignVCenter
    }
}