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. Deploying Phonon application
Forum Update on Monday, May 27th 2025

Deploying Phonon application

Scheduled Pinned Locked Moved Installation and Deployment
3 Posts 2 Posters 3.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.
  • I Offline
    I Offline
    illuzmax
    wrote on last edited by
    #1

    Hello,

    I struggle for several days to deploy my application using Phonon.
    I placed all the Qt DLLs near my exe, and the backend 'phonon_ds94.dll' in a folder phonon_backend.
    Everything works perfectly on Windows 7 (in release).

    When I tried it on Windows Vista, nothing has worked. A friend of mine who also tried on Vista and it only gets the sound (the application has video + audio).

    I'm wondering if we should not redistribute other DLLs or redistributable Windows ?
    Is it necessary to install specific components to OpenGL or DirectX?

    I saw that the documentation (http://developer.qt.nokia.com/faq/answer/what_is_needed_for_deploying_a_phonon_based_application) indicates that we should copy the dll phonon_ds9d4.dll in phonon_backend. Is this correct (d stands for debug right?)?
    Both phonon_ds9d4.dll and phonon_ds94.dll must be copied ?

    I built my Qt libs under Windows 7 (development PC), does the produced DLL is compatible with XP and Vista ?
    Should phonon dlls be built under Vista if I want my application to run on Vista ?

    Why the application runs on 7 but not Vista?
    Thank you for your help!

    1 Reply Last reply
    0
    • D Offline
      D Offline
      dangelog
      wrote on last edited by
      #2

      Are you sure both the machines have the same set of decoding libraries installed? (Like, system-wide mpeg4 / aac / divx / xvid decoders...)

      And yes, the phonon backend must be placed inside a subdirectory called "phonon_backend". See here http://doc.qt.nokia.com/4.7/deployment-plugins.html for more info.

      Software Engineer
      KDAB (UK) Ltd., a KDAB Group company

      1 Reply Last reply
      0
      • I Offline
        I Offline
        illuzmax
        wrote on last edited by
        #3

        Both the machines have the same decoding libraries (Klite codec pack installed).
        I've already placed my backend dll inside phonon_backend (phonon_ds94.dll)...

        I look into my code and this is the Phonon::createPath methods that make my app crash.
        (Without, it launches, but no video and sound which is normal).

        It seems that vista has something different than 7 or XP. I wonder what ?
        OpenGL dll are already installed...I have no idea left!

        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