Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. QML Video element acting weird on C7
Qt 6.11 is out! See what's new in the release blog

QML Video element acting weird on C7

Scheduled Pinned Locked Moved Mobile and Embedded
2 Posts 2 Posters 2.1k 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.
  • P Offline
    P Offline
    phones24
    wrote on last edited by
    #1

    Hello

    I'm trying to play a video using QML Video element and i noticed the weird behavour while testing on real device C7 (though it's working as expected in simulator). When I loads the page with Video element, for about a second I can see the undelying application screen (e.g. CODA's)! Moreover, it also happens when i'm changing the orientation or when destroying the page.

    I was trying many different approaches to prevent this, e.g. dynamically create the element or hiding it while the video is loading - nothing really works. Drawing my own background under he Video doesn't help either.

    My last try was setting to true Qt::WA_OpaquePaintEvent attribute of QmlApplicationViewer.

    @viewer.setAttribute(Qt::WA_OpaquePaintEvent);@

    It runs as expected on simulator, but, when i'm testing it on the device, it shows no video at all, though the sound track is playing normally.

    Again, everything works great on simulator but not on the device!

    Anyone?

    1 Reply Last reply
    0
    • L Offline
      L Offline
      lucarocchi
      wrote on last edited by
      #2

      damn , absolutely true ...and also there is a full screen flickering that makes using Video very ugly...can not implement a decent UX using video right now

      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