Thanks, I can compile phonon and phonon ds9 plugin now. However, they are not working..
When I compiled the musicplayer example and run , it report the following error and quit : Starting C:\Qt\2009.03\qt\examples\phonon\musicplayer\debug\musicplayer.exe... C:\Qt\2009.03\qt\examples\phonon\musicplayer\debug\musicplayer.exe exited with code -1073741515 It is my step to compile and install the plugin: 1. Download qt-win-opensource-4.5.2 and installed QT 2009 03 SDK 2. Run QT Command Prompt 3. cd c:\build\qt-win-opensource-4.5.2 4. configure -phonon -phonon-backend # without build the whole QT4 5. cd src\phonon; mingw32-make It will create phonon4.dll and phonon4d.dll (not phonon.dll). So I copy those dll to c:\QT\2009.03\qt\lib , and rename to phonon.dll and phonond.dll 6. Follow the instruction in the wiki , modify the ds9.pro , then: cd src\3rdparty\phonon\ds9 ; mingw32-make This time the dll will be installed to c:\qt\2009.03\qt\plugins\phonon_backend automatically. However , their name is not phonon_ds9.dll , it is phonon_ds94.dll. By the way , do you mind to send me your dll .. ? On Tue, Jul 14, 2009 at 9:37 PM, Benjamin Sonnemann<[email protected]> wrote: > Hi, > > 1. No you dont, you just need some headers of this. > > 2. When you have compiled phonon (which i assume you dont!) you dont need > to, else rebuild phonon! Not whole qt. > > 3. --phonon --phonon-backend > > Thats all :D. When you do like described in the article all should be fine. > -- > Benjamin Sonnemann > > 2009/7/14 Ben Lau <[email protected]> >> >> Hi Benjamin, >> >> I am quite confused with the instruction... >> >> 1. Do I need to build kdewin32? >> >> 2. Do I need to recompile the whole QT 4.5.2? Or I need to build the >> DS9 backend only? >> >> 3. If I need to build the whole QT 4.5.2 , what parameter should be >> passed to configure script? >> >> On Sun, Jul 12, 2009 at 11:45 PM, Benjamin >> Sonnemann<[email protected]> wrote: >> > Here are detailed instructions: >> > >> > http://wiki.qtcentre.org/index.php?title=Building_the_Phonon_backend_plugin_on_Windows_using_MinGW >> > >> > I used them myself >> > >> > >> > 2009/7/12 Adrian Łubik <[email protected]> >> >> >> >> AFAIK, it is not possible to build the phonon module (backend?) with >> >> mingw. You need an MSVC-built version of Qt4 (you have to compile it >> >> yourself). There are some plans of releasing binaries of Qt 4.6 buit >> >> using >> >> MSVC. >> >> >> >> _______________________________________________ >> >> Qt-creator mailing list >> >> [email protected] >> >> http://lists.trolltech.com/mailman/listinfo/qt-creator >> >> >> > >> > >> > _______________________________________________ >> > Qt-creator mailing list >> > [email protected] >> > http://lists.trolltech.com/mailman/listinfo/qt-creator >> > >> > >> >> _______________________________________________ >> Qt-creator mailing list >> [email protected] >> http://lists.trolltech.com/mailman/listinfo/qt-creator > > _______________________________________________ Qt-creator mailing list [email protected] http://lists.trolltech.com/mailman/listinfo/qt-creator
