Skip to content

LibCamera QML #14

@chrizbee

Description

@chrizbee

I'm trying to port my QtWidgets + OpenGL (Qt6) viewfinder to QML (also Qt6) since my whole application is QML. Currently I'm using a viewfinder similar to this from libcamera qcam:
https://github.com/raspberrypi/libcamera/blob/main/src/apps/qcam/viewfinder_gl.cpp

What is my best option to accomplish this?

  • QML CaptureSession with VideoOutput (how?)
  • QML ShaderEffect with Image / ShaderEffectSource as textures for each frame
  • QQuickView / QQuickWidget for QML pages and C++ QOpenGLWidget for the viewfinder
  • other / better ideas?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions