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 Problem
Forum Update on Monday, May 27th 2025

QMediaPlayer Problem

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 1.3k Views
  • 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
    sergex
    wrote on last edited by
    #1

    Hello,

    I am using QMediaPlayer to play wav files in my application and everything is working fine when I run my program from QtCreator in both debug and release mode. But When I deploy it and I run the program it won't play the files anymore.

    I have included the following Qt dlls with my executable:

    Qt5Core.dll
    Qt5Gui.dll
    Qt5Multimedia.dll
    Qt5Widgets.dll
    Qt5Network.dll

    Does anyone know if I am missing something else to make QMediaPlayer work properly ?
    I tried looking at the application output when running the application outside QtCreator and I am getting this warning that I'm not sure what it means or if it relates to my problem or not:

    [6520] Cannot create accessible interface for object: QPushButton(0x6882d8)

    Thanks.

    1 Reply Last reply
    0
    • raven-worxR Offline
      raven-worxR Offline
      raven-worx
      Moderators
      wrote on last edited by
      #2

      this may be a known "bug":https://bugreports.qt-project.org/browse/QTBUG-29720.
      Do you encounter any performance impacts?

      --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
      If you have a question please use the forum so others can benefit from the solution in the future

      1 Reply Last reply
      0
      • S Offline
        S Offline
        sergex
        wrote on last edited by
        #3

        No, in my case since I don't have any significant performance loss other than the problem that playback of a file won't start only when my program is run outside of QtCreator.

        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