hi ,
this is almost the repeat post of phonon module question. how can i get phonon enabled and use it in applications with qt-4.5.1-mingw-windows.exe version? is it compulsory to compile sources of qt to active phonon? thanks in advance. bye
Printable View
hi ,
this is almost the repeat post of phonon module question. how can i get phonon enabled and use it in applications with qt-4.5.1-mingw-windows.exe version? is it compulsory to compile sources of qt to active phonon? thanks in advance. bye
Please read this: http://wiki.qtcentre.org/index.php?t...ws_using_MinGW
But, you also need a GCC-adapted dvdmedia.h file from the Strawberry Perl (strawberryperl.com) package. Copy this dvdmedia.h into the include dir of MinGW, and recompile Phonon and backend.
Another way - you can recomile the whole Qt with Visual Studio C++.
can I then compile my qt progs with mingw?Quote:
Another way - you can recomile the whole Qt with Visual Studio C++.
No, you need to stick with one compiler.
I prefer mingw. Its simple and my way. its free software. universal. cross platform (a thing qt is/claims to be). I am a free software lover (hence the username FS Lover). I like independence too.
I will try to compile phonon with mingw.
but I haven't high speed internet connection in home. tommorow I will download kdewin32 package at work.
but I have a question in advance. that wiki article says 'Copy the file comdef.h from kdewin32/include/mingw into kdewin32/include/directx'.
so where is the kdewin32/include/directx on my system? should I install anything before?
this link: http://websvn.kde.org/trunk/kdesupport/kdewin32/
does not work and I couldn't find any other download link.
can anybody help me please?
another question: why is dvdmedia.h from strawberry perl needed? its not mentioned in the wiki article.
I found http://windows.kde.org/download.php. is that ok?
additionally it seems that overal download will be huge (see http://techbase.kde.org/Projects/KDE...s_and_contents). I have a 256Kb connection.
is there any way for downloading only those components necessary for compiling phonon?
apparently kdewin32 installer has a package selection for download, but I don't know which packages should I choose. also there is a binary, a devel, and a src selection option for each package; which ones should I select?
oh no, it has too many options!! too many packages. too many bytes. it huge!
please help me! help...
Please edit your posts instead of replying to your own posts.
I am downloding. I chose only some packages that I thought are relevant to phonon. some have clear names (phonon*).
microsoft directx sdk alone is about 452MB and its download is in progress now.
in the installer program there were some options such as mingw or msvc type that I chose mingw version. I think these can cause mistakes buy less powerful users.
they don't certainly know which type and packages should they download.
I think a step by step tutorial with exactly those minimal resources required for compiling phonon is a must.
BTW I think I found another repository for kdewin32 files by looking at some ini file of the kdewin32 installer program, so I insert that link here so that if someone some day find this topic probably there is some useful info for him:
ftp://gd.tuwien.ac.at/kde/stable/4.2.3/win32/
now I have these files downloaded:
are they sufficient?Code:
29,114 config.txt 462,460,792 dxsdk_apr2007.exe 475,844 OggDS0995.exe 54 expat-2.0.1-bin.zip.md5 66,829 expat-2.0.1-bin.zip 65 phonon-mingw-4.3.0-bin.tar.bz2.md5 384,131 phonon-mingw-4.3.0-bin.tar.bz2 65 phonon-mingw-4.3.0-lib.tar.bz2.md5 147,308 phonon-mingw-4.3.0-lib.tar.bz2 65 phonon-mingw-4.3.0-src.tar.bz2.md5 566,452 phonon-mingw-4.3.0-src.tar.bz2 65 dbus-mingw-1.2.4-1-bin.tar.bz2.md5 1,170,713 dbus-mingw-1.2.4-1-bin.tar.bz2 63 qt-mingw-4.4.3-3-bin.tar.bz2.md5 16,037,341 qt-mingw-4.4.3-3-bin.tar.bz2 60 runtime-mingw-1.0-bin.zip.md5 3,604 runtime-mingw-1.0-bin.zip 827 kdewin-installer.log
any help please?
have I to install with kde installer first?
wiki: Make sure your Qt is configured with -phonon -phonon-backend.
how?
I am ready to re-compile qt.
but I want to know before if MS DirectX SDK or any other windows related parts should be installed on my system or not before compiling qt.
I have windows XP SP2.
should I issue the build commands in the src dir?
I am also looking for method to use phonon on windows.. I found that phonon is present in the kdewin32 project. Is it possible to use the precompiled binary from the project?
http://sourceforge.net/projects/kde-windows/files/
I am quite confused about the instruction now..
1. In fact, what is phonond.dll ? I think the correct name for DS9 background is phonon_ds9.dll , and the dll of phonon is phonond.dll . I have searched "phonond" in the source tree of qt 4.5.2 , but could only found the target of phonon_ds9
2. Do I need to build kdewin32?
3. Do I need to recompile the whole QT 4.5.2? Or I need to build the DS9 backend only?
I tried this already but I couldn't get it to work.
it seems that there should exist some more easy and reliable way for solving all of this mess:
but the patch was not completely successful; it had one case of reject.Quote:
Thank you for your mail. You can try the following patch, which still hasn't been accepted by MinGW, it should solve the problem:
http://sourceforge.net/tracker/?func...35&atid=302435
Regards,
Martin
--
Martin Pejcoch, Support Engineer
Qt Software, Nokia, Oslo, Norway
I tried to apply the rejected section manually (I found those C syntax errors in a struct within another .h file);
I started re-compiling qt; that took several hours but eventually I got webkit compilation errors, phonon plugin/backend was not created (although a phonon.dll was created), and programs (qt examples) while compiled and executed without errors but couldn't playback any file.
now, I decided to download the (probably whole) kdewin and try another way according to the the wiki article.
after about 6 hours of compiling, I got the same results as with the mingw patch method.
although I downloaded only those parts of the kdewin project's source tree that seemed to be necessary (mingw and directx includes).
I still have some ideas to try (downloading whole kdewin doesn't seem to be necessary, so it would be on the end of the list).
there are several possible combination of methods and configurations to try.
it seems that there is a problem with compiling webkit. can anybody tell me how to disable (re)compiling of webkit?
I am now compiling again.
this time with a combination of methods.
I patched mingw headers and added extra .h files.
I replaced qt's phonon sources with those in the kdewin project.
I acted according to the wiki article too.
finally I specified the release target to the mingw32-make command (probably it will work and will be much faster for my tests since no debug dlls are generated).
any help/advice and ideas are very welcome.
somebody some day should address this problem.
qt is amongst the few free/open source alternative gui/application frameworks on windows for us. personally I hate dependence on tools like MS VC (I think it is not free software too that is even worse).
and it is very unfortunate that phonon support is lacked with mingw version of qt while it has no problem with MS VC or on other platforms. qt claims to be cross platform and it is one of the reasons we chose it. but now its in doubt with this ugly situation.
It should not be so hard and complicated to solve since all involved parts are free/open source software that are available for windows too.