Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. No audio after Qt app is installed [SOLVED]
QtWS25 Last Chance

No audio after Qt app is installed [SOLVED]

Scheduled Pinned Locked Moved Installation and Deployment
5 Posts 2 Posters 1.8k 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.
  • J Offline
    J Offline
    jhendrix58
    wrote on last edited by
    #1

    I've created a simple wav file streaming app. It is working fine within the development environment. Now I need to deploy it.

    I am using BitRock to deploy the app.

    BitRock seems to install the app on the test machine correctly. The app launches without complaints about missing DLLs, etc.

    When I attempt to cause the app to play a particular wav file it successfully connects to the sever, downloads the wav and begins playing the wav; visually it appears to be working fine. The problem is that no sound comes from the speakers.

    Note: I am attempting to deploy a debug build.

    Troubleshooting attempted:

    1. I guessed the app needed some plug in. Adding the following had no effect:
      <app-install-folder>/plugins/mediaservice/dsengined.dll
      <app-install-folder>/plugins/mediaservice/qtmedia_audioengined.dll
      <app-install-folder>/plugins/mediaservice/wmfengined.dll

    Other details:
    Qt 5.4
    OS Win7/64bit
    MSVC 2012

    As of now I

    1 Reply Last reply
    0
    • J Offline
      J Offline
      jhendrix58
      wrote on last edited by
      #2

      Well, I consider those to be good, common-sense questions. I forgot to add what I did to verify that the target machine was capable of emitting sound.

      What I did to validate that the target machine was cable of emitting sound:

      1. I installed my player on two different machines. I encountered the same failure on both machines.

      2. I ran Microsoft's media player on both target machines. This player emitted sound through the target computers' speakers immediately.

      I conducted the following on only one of these machines

      1. I checked the volume mixer. All volume controls are set to max.
      1 Reply Last reply
      0
      • J Offline
        J Offline
        jhendrix58
        wrote on last edited by
        #3

        UPDATE:
        pklemm "reported":https://qt-project.org/forums/viewreply/149844/ the following solve his problem:

        bq. I had plabq. ced the dsengine.dll and qtmedia_audioengine.dll in the folder:
        <app dir>/plugins/mediaservice
        it needs to be:
        <app dir>/mediaservice

        I tried this. Didn't help.

        For now, I am going with <app dir>/mediaservice

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Can you start your application from a console setting QT_DEBUG_PLUGINS to 1 ? That should give you more information about what happens with your plugins

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote on last edited by
            #5

            Thanks for sharing your findings !

            You also have "here":http://qt-project.org/wiki/Deploy_an_Application_on_Windows a nicely illustrated wiki entry about Window's deployment that shows the folder structure.

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            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