Results 1 to 4 of 4

Thread: Running a Qt application with Phonon on a non-development computer

  1. #1
    Join Date
    Mar 2010
    Posts
    10
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Question Running a Qt application with Phonon on a non-development computer

    Hi,

    I have an application that play video files using phonon::VideoWidget. When I run the application on my development pc it runs fine but when I install it on a non-development pc it starts but the phonon widget displays nothing. Ive included Qt dlls (including phonond4.dll) on the non-development pc.

    Any Ideas whats missing? If I install Qt SDK on the non-development PC everything works well and the phonon widget displays video.

  2. #2
    Join Date
    Apr 2010
    Location
    Rostov-na-Donu, Russia
    Posts
    153
    Thanks
    2
    Thanked 26 Times in 23 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Running a Qt application with Phonon on a non-development computer

    try to include in your installer the next folders with all dll-files in them
    Qt Code:
    1. %QTDIR%\plugins\codecs\
    2. %QTDIR%\plugins\phonon_backend\
    To copy to clipboard, switch view to plain text mode 
    this folders must be near your application.
    e.g.
    Qt Code:
    1. C:\Program Files\MyAppFolder\codecs\
    2. C:\Program Files\MyAppFolder\phonon_backend\
    To copy to clipboard, switch view to plain text mode 

  3. The following user says thank you to borisbn for this useful post:

    stefanadelbert (17th November 2010)

  4. #3
    Join Date
    Mar 2010
    Posts
    10
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Running a Qt application with Phonon on a non-development computer

    It worked! Thanks!

  5. #4
    Join Date
    Feb 2010
    Location
    Sydney, Australia
    Posts
    111
    Thanks
    18
    Thanked 5 Times in 5 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Running a Qt application with Phonon on a non-development computer

    This really should be in the Qt documentation.

    Thanks for the help. Worked for me too. Any method other than trial and error to work out which DLL's are actually needed and which ones aren't?
    Last edited by stefanadelbert; 17th November 2010 at 22:50.

Similar Threads

  1. CASE Tools for Qt4 Application Development--info needed
    By swamyonline in forum Qt Programming
    Replies: 2
    Last Post: 11th October 2010, 16:12
  2. Running Phonon under Windows CE
    By Luc4 in forum Qt for Embedded and Mobile
    Replies: 1
    Last Post: 10th April 2010, 10:44
  3. Replies: 5
    Last Post: 15th June 2007, 22:08
  4. running Qt application on computer without Qt
    By vonCZ in forum Installation and Deployment
    Replies: 2
    Last Post: 30th May 2007, 15:36
  5. Replies: 3
    Last Post: 6th March 2007, 18:24

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.