Results 1 to 4 of 4

Thread: Phonon deployment on Windows XP //solved

  1. #1
    Join Date
    Apr 2008
    Posts
    104
    Thanks
    8
    Thanked 7 Times in 7 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Phonon deployment on Windows XP //solved

    Hello! I've compiled Qt 4.5 with Visual Studio 2008 with Phonon DS9 backend. At the machine where all path variables are set all works fine. But it doesn't work at the another machine.
    I've put all main Qt dll's into the same directory with my program executable. The main program can be runned, but it shows a message:
    Qt Code:
    1. WARNING: bool __thiscall Phonon::FactoryPrivate::createBackend(void) phonon back
    2. end plugin could not be loaded
    To copy to clipboard, switch view to plain text mode 
    the phonon4.dll is in the same directory with the executable. The phonon_ds94.dll is in the /plugins/phonon_backend. What is wrong? As far I know Qt-apps must search the plugins at the plugins subdirectory by default.
    I've tried to add the search path manually using the QApplication::addLibraryPath, but the result was the same. Also the SVG-icons doesn't work (without Qt path variable).
    P.S. I've found a VStudio option to build without a hard dependency of libraries paths.
    Last edited by roxton; 18th April 2009 at 19:15.

  2. #2

    Default Re: Phonon deployment on Windows XP //solved

    Hey roxton,

    I'm having exactly the same problms you were having with Phonon deployment. Your thread title seemed to imply you solved the problem? How exactly did you do this?

    "I've found a VStudio option to build without a hard dependency of libraries paths."

    which option was this?

    Tried everything from http://doc.trolltech.com/4.5/deployment-windows.html etc without any luck so far...

  3. #3

    Default Re: Phonon deployment on Windows XP //solved

    Strange, seems my addLibraryPath() calls weren't having much of an effect.

    Recreated c:\qt\4.5.1\plugins\phonon_backend with the dlls on the deployment PC (i.e. no other QT files, just a single DLL under c:\qt\, and the program runs fine.

    Hope to find the elegant solution to this soon.

  4. #4
    Join Date
    Mar 2010
    Posts
    1
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60

    Default Re: Phonon deployment on Windows XP //solved

    Deploy phonon_ds94.dll to app_directory\phonon_backend\

  5. The following user says thank you to lwahonen for this useful post:

    tom0485 (8th October 2010)

Similar Threads

  1. Problem with compiling qt on windows xp with phonon
    By junky in forum Installation and Deployment
    Replies: 3
    Last Post: 13th April 2009, 08:13
  2. Deployment problems on Windows...help
    By Hookem in forum Installation and Deployment
    Replies: 2
    Last Post: 11th December 2008, 09:21
  3. Windows mobile 6 deployment
    By Gilles.Bordas in forum Installation and Deployment
    Replies: 4
    Last Post: 7th July 2008, 11:06
  4. qt deployment problem on windows xp
    By sepp in forum Installation and Deployment
    Replies: 3
    Last Post: 5th July 2007, 11:16

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.