blob: 004f8fac57a92a0e1b3b5ebcd2eb01a553e0aa68 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
# Copyright (C) 2023 The Qt Company Ltd.
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
from __future__ import annotations
"""PySide6 port of the QtMultiMedia camera example from Qt v6.x"""
import sys
from PySide6.QtWidgets import QApplication
from camera import Camera
if __name__ == "__main__":
app = QApplication(sys.argv)
camera = Camera()
camera.show()
sys.exit(app.exec())
|