Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. LibCamera viewfinder QML
Forum Update on Monday, May 27th 2025

LibCamera viewfinder QML

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
cameraopenglqmlvideoraspberry
1 Posts 1 Posters 196 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    chrizbee
    wrote on 12 Jul 2024, 06:53 last edited by chrizbee
    #1

    I'm trying to port my QtWidgets + OpenGL viewfinder to QML 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?
    1 Reply Last reply
    0

    1/1

    12 Jul 2024, 06:53

    • Login

    • Login or register to search.
    1 out of 1
    • First post
      1/1
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved