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. Is it possible to use Raw OpenGL (platfrom specific libraries like GLESv2) to render a video in UI developed using Qml
Qt 6.11 is out! See what's new in the release blog

Is it possible to use Raw OpenGL (platfrom specific libraries like GLESv2) to render a video in UI developed using Qml

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
1 Posts 1 Posters 280 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
    Siva_1552
    wrote on last edited by
    #1

    Hi All,

    Objective:

    • I am trying to develop an Application which having UI (some 4 to 5 buttons), when button is clicked, video needs to be displayed.
    • To render video(frame buffer) on screen, I am using raw OpenGL (platform specific OpenGl libraries like GLESv2).
    • As a standalone application (without UI Qml/Qt), I am able to render video on screen using raw OpenGl (library GLESv2) and Wayland Window.
    • Now my goal is to bring this video into UI, so that when a button is pressed on UI, video should get rendred, when other button pressed it should stop rendering. Its not working as expected.

    I have few doubts,

    1. Is it acceptable to use raw OpenGl library (GLESv2) along with Qml developed UI ?
    2. As Qt is having own QOpenGlFunctions class as part of Qt5Gui library, Is it mandatory to use QOpenGlFunctions to use OpenGL functionality in Qml/UI.?

    Kindly help me in this. Thanks

    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