Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4610714
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T01:10:12+00:00 2026-05-22T01:10:12+00:00

I have some code compiled using Visual Studio 2010 (C++), with Qt for the

  • 0

I have some code compiled using Visual Studio 2010 (C++), with Qt for the GUI and Phonon to show some videos.

I compile and run the code in a Windows XP machine and everything works fine. The videos and controls are shown correctly, and the same in other Windows XP machines. But at the moment that I try to use a Windows 7 machine, the video is not shown. Phonon controls are loaded, I can adjust the size of the Phonon VideoWidget but nothing is shown. I am using the SetFile method to indicate the file location and I have also tried (of course, with no luck) with setCurrentSource in the MediaObject (it works, though, in Windows XP).

I have tried different locations of files (absolute/relative) but nothing seems to work. Also, in XP when a video is not found an alert message is shown while in Windows 7 there is no error message, but also no video is shown. If I try to open the videos with other players, they work fine (I tried also with videos with different formats).

Any idea on what can be wrong? Is there something that I am missing with Phonon and Windows 7? Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T01:10:13+00:00Added an answer on May 22, 2026 at 1:10 am

    When deploying your application to a different computer, make sure you don’t forget to copy the Phonon backend. Not just the DLL contained in it (the ds backend for me), but also the directory itself.

    That is

     -Application Directory
     ¦-myexe.exe
     ¦-phonon_backend
      ¦-phonon_ds94.dll
    

    Furthermore the Phonon backend on Windows (and Mac I think) makes use of the QtOpenGL module. So don’t forget to copy this either. It can go inside the application directory.

    In any case you could help yourself out a bit by adding a small bit of code that shows (perhaps writes to a file) which mimetypes are available. If it doesn’t spit out anything, there is a problem with your backend. (Well, that of your application…)

    This is what I had to do when I used Phonon to play video inside my application. Since I only quickly added this some time ago to my application, I’m not 100% sure that this is the only (or even the proper) way to do this, so anyone who has different insights feel free to comment on this.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've found this odd case of some code (below) doesn't compile under Visual Studio
I'm using Visual Studio 2008 Express Edition to compile the following code in a
I have added some code which compiles cleanly and have just received this Windows
Suppose I have some code that would, in theory, compile against any version of
I am using Visual Studio 2010 (c++), and Intellisense has stopped working. I've read
Using Visual Studio 2010 .Net Framework 4 C# Linq to Entities Issue I would
We are trying to upgrade our code base to use Visual Studio 2010 but
i am trying to compile some code to memory at runtime using a CodeDomProvider.
I have some code for starting a thread on the .NET CF 2.0: ThreadStart
I have some code like this in a winforms app I was writing to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.