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. QMediaPlayer / QVideoWidget makes QX11EmbedContainer disappear
Forum Updated to NodeBB v4.3 + New Features

QMediaPlayer / QVideoWidget makes QX11EmbedContainer disappear

Scheduled Pinned Locked Moved General and Desktop
2 Posts 1 Posters 2.7k 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
    simonbolek
    wrote on last edited by
    #1

    Hi gurus!

    • Ubuntu 10.04 32 bit
    • Qt 4.7 simple desktop application

    I am using QStackedWidget to display
    in one page: the QX11EmbedContainer
    in another page: QMediaPlayer/QVideoWidget.

    Embedding with embedClient works fine. Than(a couple of seconds/minutes later) in the other page I am creating the QMediaPlayer/QVideoWidget with

    @ QVideoWidget *widget = new QVideoWidget();@

    It works fine as well, video is playing fine, however, when I switch back to the page with the QX11EmbedContainer it is gone, disappeared. Not the Object, it is just invisible. No repaint, show, refresh geometry function work.
    I figured, that just the line where I construct the player object makes the QX11EmbedContainer disappear (not playing the video or such), when I uncomment it and do not use the object, QX11EmbedContainer is working fine.

    Can you give me any clues why these two do not work together?

    cheers
    simon:)

    cheers
    simon:)

    http://arcom-ivi.de

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

      Well it is not a scientific approach from my side, have mercy, but it brought me further.
      I did the following:

      1. initialized
        @QMediaPlayer/QVideoWidget @
      2. and than did
        @embedClient(m_sXID.toULong(&ok, 16))@
        and it worked fine than.
        If I do it the other way around embedded application disappears.

      I will post if I find out why it is so.

      cheers
      simon:)

      cheers
      simon:)

      http://arcom-ivi.de

      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