Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import QtQuick 2.0
- import QtMultimedia 5.4
- VideoOutput {
- id: viewFinder
- source: camera
- anchors.fill: parent
- transform: Rotation {
- origin.x: viewFinder.width / 2
- origin.y: viewFinder.height / 2
- axis.x: 0; axis.y: 1; axis.z: 0
- angle: 180
- }
- Camera {
- id: camera
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement