# Problem with Qt 4.6 on WinXP creating videoplayer with Phonen

• Hi everyone,

i am tryin to devlop an VideoPlayer with Qt 4.6. in The DOC i read, that i have to use the phonon module. Before i read this, Qt was installed. I just start the setup File. Without any settings.

In DOC for phonon module i read that i needed the windows SDK, and after installation i have to start a script and then build Qt.

So what i have do do know, so everything is working FINE!

Can anyone give me an instrduction how to do the steps ? Do i need any other Software like visual studio or something?

thanks

• you don't necessarily need VS2008 ... but if you have VS2008, you don't need to download the sdk,configure the environment etc

So if you have winxp, I would suggest these steps:

1. Check DirectX and DirectShow v9
3. run the setenv.cmd
4. build qt (in configure ensure phonon is enabled)

----- same as in the Qt docs:
On Windows, building Phonon requires DirectX and DirectShow version 9 or higher. You'll need additional SDKs you can download from Microsoft.

Windows XP and later Windows versions

If you develop for Windows XP and up, you should download the Windows SDK here. Before building Qt, just call the script: C:\Program Files\Microsoft SDKs\Windows\v6.1\Bin\setenv.cmd

Note: Visual C++ 2008 already contains the Windows SDK and doesn't need that package and has already the environment set up for a smooth compilation of phonon.

• At Beginning i installed Qt SDK for windows, then directX + directShow + windows SDK . Is there any importance in the order?

When i start C:\Program Files\Microsoft SDKs\Windows\v6.1\Bin\setenv.cmd
i got the following error:

@The x86 compilers are not currently installed.
.
Setting SDK environment relative to C:\Program Files\Microsoft SDKs\Windows\v6.1
.
Das Sprungziel - Set_x86 wurde nicht gefunden.
Drücken Sie eine beliebige Taste . . .@

And do i have to build Qt from the source with an compiler..which one would this be?

• I don't think the order would matter wrt directx, directshow, winsdk.
Let me see, I'll try to chk further and revert

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.