Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. [Closed]Questions about a viewfinder using system camera
Forum Updated to NodeBB v4.3 + New Features

[Closed]Questions about a viewfinder using system camera

Scheduled Pinned Locked Moved General and Desktop
2 Posts 1 Posters 624 Views 1 Watching
  • 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.
  • S Offline
    S Offline
    stuartx
    wrote on last edited by
    #1

    Hi, I am going to implement a viewfinder program to view, capture and record video and pictures, using the system camera. Based on the document, I see two approaches, widgets solution and QGraphicView solution.

    1. In widgets solution, I need to use QCamera and QCameraViewfinder (QMediaRecorder and QCameraImageCapture) classes for the implementation. If I want to manually arrange the QCameraViewFinder in the UI form of Qt creator, where can I get the widget symbol? I could not find it in the "Widget Box" of the Qt creator.

    2. In QGraphicView solution, I need to use QGraphicView, QGraphicScene, and QGraphicsVideoItem classes. In this approach, how can I connect the QCamera to the scene ? ( or to the QGraphicsVedioItem?) Should I use other class to represent the camera device?

    Which approach do you prefer? Is there any C++ examples for this kind of project?

    Your help and advice are greatly appreciated.

    1 Reply Last reply
    0
    • S Offline
      S Offline
      stuartx
      wrote on last edited by
      #2

      Since I can not read replies for this thread. I mark it resolved and reopen a new thread at:

      http://qt-project.org/forums/viewthread/46031/

      1 Reply Last reply
      0

      • Login

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