On Mon, 6 Oct 2008, Boudewijn Rempt wrote: > I'm trying to compile a 4.5 snapshot (20080918 is the latest I have) > with a phonon backend on windows xp and vista. I'm using Visual Studio > Express 2008 and I have installed the directx sdk & run the directx setup > command. However, when Qt is compiled, I'm left without any phonon backend. > > This makes me wonder: am I doing something wrong, is vs express not capable > of compiling the phonon backend, or is phonon temporarily broken in the 4.5 > snapshots?
I _think_ I've got it working now. I'm not completely sure, since Qt needs to compile, and that takes a couple of hours, but thanks to pgquiles' help on irc, I figured I probably had to do the following, instead of what's said in the dox: * download a more recent directx sdk ( http://www.microsoft.com/downloads/details.aspx?FamilyID=ea4894b5-e98d-44f6-842d-e32147237638&DisplayLang=en) * download the window sdk (http://www.microsoft.com/downloads/details.aspx?FamilyID=e6e1c3df-a74f-4207-8586-711ebe331cdc&DisplayLang=en) * install both Then _first_ run c:\program files\Microsoft Visual Studio 8\VC\vcvarsall.bat" (instead of _finally_ C:\program files\Microsoft Platform SDK\setenv.cmd) and then: Set DXSDK_DIR=C:\Program Files\Microsoft DirectX SDK (February 2007)\ (with the final backslash, without quotes! This is important) "%DXSDK_DIR%"\utilities\bin\dx_setenv.cmd The presence/absence of quotes makes a lot of difference in whether the right dirs are set in the enviroment, or not. Boudewijn _______________________________________________ Qt4-preview-feedback mailing list [email protected] http://lists.trolltech.com/mailman/listinfo/qt4-preview-feedback
