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. Media Player: How to play disc (DVD), how to put a background image in QVideoWidget
Qt 6.11 is out! See what's new in the release blog

Media Player: How to play disc (DVD), how to put a background image in QVideoWidget

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 623 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.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #1

    Hello, guys.
    I'm a newbie, I am using Qt 5.2.1 with MSVC 2012 32-bit compiler (working with Windows 7 - 32 bits). I am studying the media player example, but I want to implement two changes in it. I searched the issues, but I have not found them: First, I want to add the functionality "open disc" present in many players (like a DVD, for example), so the playlist read the disc (the titles and chapters). But I don’t know where to start. Second, I want to put a background image (.png) in VideoWidget (the class that inherits QVideoWidget). I tried something like
    @ setStyleSheet("background-image: url(:/Images/wall1.png);"); @

    anyway I could not do it. Any help is welcome. Sorry for my English and thanks in advance.

    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