汽车应用中,camera起到了越来越多的作用,数字化的作用,这点无可争议,而作为GUI设计工具,如何让Camera类的应用能更好的发挥作用呢?
You can use Camera
to capture images and movies from a camera, and manipulate the capture and processing settings that get applied to the images. To display the viewfinder you can use VideoOutput with the Camera set as the source.
Qt就提供了这么一种类型,专门处理camera。
以下是这一个示例的代码:
test.pro文件修改下面一句:
QT += quick multimedia multimediawidgets
main.qml文件如下:
import QtQuick 2.12
import QtQuick.Window 2.12
i