I just have realized that it only builds under mingw32-make release...
sorry for bothering, my mistake...
I just have realized that it only builds under mingw32-make release...
sorry for bothering, my mistake...
you can modify the configure command line in the source (edit commands.txt) for adding debug mode if you want (I think removing -release solves it all). don't forget running install.cmd again.
by default it builds in release mode just for speed.
I have the latest version of Microsoft DirectX and Microsoft SDK installed..I use Qt 4.5.2..When the configuration of your package is over, I am still not being able to use phonon
It gives error
the steps I followed are:
Install Qt 4.5.2
run phonon4qt
Is there antything that i am missing?
have you a complete SDK installed?I use Qt 4.5.2
what is the error message?When the configuration of your package is over, I am still not being able to use phonon
It gives error
what command lines did you use for building your app?
did you run install.cmd before phonon4qt by clicking it? (don't call the install.cmd from the command line)the steps I followed are:
Install Qt 4.5.2
run phonon4qt
then you must open a fresh Qt command prompt and run the phonon4qt there.
then answer the two questions with y or n.
then, after pressing any key to continue, wait (possibly several hours) to complete the build process.
I recommend you to redirect the build tools' messages to the log file (by replying y to the related question).
save any error messages you see on the command line, and give them and the log file.
hey I got it installed by some other way..anyway, thanks for the help!
Hello FS Lover,
I.am trying to get this patch get working on my machine.
The problem is that i can only use Debug Mode because Release Mode give my a error( lphonond is missing ).
In your early post you describe to change the commnds.txt the command line into the Debug Mode.
Can you tell me wich command line in commands.txt.
Thanks in advance.
phonond is the debug version of the phonon lib that your compiler requested it.The problem is that i can only use Debug Mode because Release Mode give my a error( lphonond is missing ).
so it seems that your compilation was not in release mode (only).
what command lines did you use for building?
Last edited by FS Lover; 2nd August 2009 at 10:03.
Hello,
I figured it out i have change the 2 lines in commands.txt with -release configuration into -debug .
It compiles and works perfect voor my phonon examples and demos.
Thanks.
Hey i have tried this but i get the following error message
Qt Code:
==================================================================== current directory: F:\Qt\2009.03\mingw\include ==================================================================== step 1: adding new files to and patching some mingw's header files... patching file amvideo.h patching file bdatypes.h patching file control.h patching file dshow.h patching file strmif.h patching file vmr9.h ==================================================================== step 2: setting Microsoft DirectX SDK 2008 paths... Dx x64 target enviroment is now enabled. The system cannot find the batch label specified - Host F:\Qt\2009.03\mingw\include>To copy to clipboard, switch view to plain text mode
Only thing i changed was the -release command to -debug-and-release
<edit>
I have added the Host label to the phonon4qt.cmd to make it look like this:
Qt Code:
:x86_Target Set Lib=%DXSDK_DIR%Lib\x86;%Lib% Set Include=%DXSDK_DIR%Include;%Include% echo Dx x86 target enviroment is now enabled. :Host rem ----------------------- echo. echo lib=%lib% echo include=%include%To copy to clipboard, switch view to plain text mode
Running it now will let you now if it worked.
<Edit2>
That didn't work i get the following error when configuring qt:
Qt Code:
In file included from thread\qsemaphore.cpp:42: thread\qsemaphore.h:57: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://www.mingw.org/bugs.shtml> for instructions. mingw32-make[2]: *** [tmp/obj/debug_shared/qsemaphore.o] Error 1 mingw32-make[2]: Leaving directory `F:/Qt/2009.03/qt/src/corelib' mingw32-make[1]: *** [debug-all] Error 2 mingw32-make[1]: Leaving directory `F:/Qt/2009.03/qt/src/corelib' mingw32-make: *** [sub-corelib-make_default-ordered] Error 2To copy to clipboard, switch view to plain text mode
And for some information i am using QtCreator 1.2 with Qt 4.5.2 on a windows 7 64 bit pc.
Last edited by eekhoorn12; 18th August 2009 at 19:14.
A friend of me also tried to install phonon support on qt. He used a fresh install of the Qt toolkit including mingw, he also runs 64 bit windows 7 and he gets the following error:
Qt Code:
In file included from image\qiconengine.cpp:42: image\qiconengine.h:55: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://www.mingw.org/bugs.shtml> for instructions. mingw32-make[2]: * [tmp/obj/debug_shared/qiconengine.o] Error 1 mingw32-make[2]: Leaving directory `C:/Qt/2009.03/qt/src/gui' mingw32-make[1]: * [debug-all] Error 2 mingw32-make[1]: Leaving directory `C:/Qt/2009.03/qt/src/gui' mingw32-make: * [sub-gui-make_default-ordered] Error 2To copy to clipboard, switch view to plain text mode
<Edit>
I have added his entire log file
Last edited by eekhoorn12; 19th August 2009 at 08:14.
this is a special case I can't test and don't know the cause.
I have not a 64 bit machine neither have the windows 7.
but I think it's worth some further testings.
for example, try adding the `Goto x86_Target' command after the `:x64_Target' label line in the commands.txt file for testing build with 32 bit libs on your 64 bit machine.
Don't forget to run the install.cmd again after modifying the commands.txt.
I have no many more ideas.
I think you can build Qt on a 32 bit machine with windows xp or vista and use it on your 64 bit windows 7 environment too.
and I think you can contact qt software sending your error message too.
probably they will give you some useful information (if so, please don't forget to post them here too).
Last edited by FS Lover; 23rd August 2009 at 06:30.
Hi FS_Lover
thanks for the files.
Windows XP, with Qt4.5.2 and mingw installed using the QTcreator package
gcc version 3.4.2 (mingw-special)
I tried to run it
clicked first on "instal.cmd"
then open the prompt for QT4.5.2
it is asking for some lib files
|? include/ddraw.h
|? include/dmo.h
|? include/dmodshow.h
|? include/medparam.h
|? include/qnetwork.h
|Index: include/amvideo.h
see details below
any idea why ??
thanks again
SunnySan
Qt Code:
Setting up a MinGW/Qt only environment... -- QTDIR set to C:\Qt\4.5.2 -- PATH set to C:\Qt\4.5.2\bin -- Adding C:\MinGW\bin to PATH -- Adding C:\WINDOWS\System32 to PATH -- QMAKESPEC set to win32-g++ C:\Qt\4.5.2>phonon4qt this will build qt (mingw version) with phonon support overal operation typically takes hours (e.g. 5 hours on a 800MHz CPU) do you want to automatically shutdown your system after completion of the build proccess? (y/n): y Press any key to continue . . . do you want all messages printed by the build tools to be redirected to the log file instead of displaying on the console? (y/n): y phonon4qt's log file's address is: "C:\Qt\4.5.2\phonon4qt.log" Press any key to continue . . . getting user options is done now the rest of operations for building qt are automatic (no user intervention) configure and mingw32-make commands will be run consecutively with command line options needed for building qt's phonon with mingw note that this program doesn't try to manage or even recognize any errors in the build process but if you have the prerequisites there should be no problems please report the result of your build to me if you can email me at: hamidreza_mz -=at=- yahoo -=dot=- com building takes a long time you can leave your machine alone if you want, after pressing one more any key! press any key to begin the rest of operations that are fully automatic... The system cannot find the path specified. ==================================================================== current directory: C:\Qt\4.5.2 ==================================================================== step 1: adding new files to and patching some mingw's header files... can't find file to patch at input line 11 Perhaps you should have used the -p or --strip option? The text leading up to this was: -------------------------- |? include/ddraw.h |? include/dmo.h |? include/dmodshow.h |? include/medparam.h |? include/qnetwork.h |Index: include/amvideo.h |=================================================================== |RCS file: /cvs/src/src/winsup/w32api/include/amvideo.h,v |retrieving revision 1.4 |diff -r1.4 amvideo.h -------------------------- File to patch:To copy to clipboard, switch view to plain text mode
Last edited by SunnySan; 17th October 2009 at 11:42. Reason: updated contents
Hi to all.. I downloaded phononmingw-zip and zipped it and into the folder i clicked in install.cmd, It asked for click on for phononqt.cmd i clicked on it. it asked for process i copied mingw folder and pasted in this phonon4Qt folder.
It asked for Shut down operation etc, where should be msg's should be stored it was in /phononlog.txt.. I tried to found it out where it is stored i didnt get it.Plz assist me i tried an example given in phonon_test program. it gave error while compiling . the error i have posted here,,,,
Running build steps for project musicplayer...
Configuration unchanged, skipping QMake step.
Starting: C:/Qt/2009.03/phonon4qtmingw/mingw/bin/mingw32-make.exe -w
mingw32-make: Entering directory `C:/Qt/2009.03/qt/examples/phonon/musicplayer'
C:/Qt/2009.03/phonon4qtmingw/mingw/bin/mingw32-make -f Makefile.Debug
mingw32-make[1]: Entering directory `C:/Qt/2009.03/qt/examples/phonon/musicplayer'
g++ -enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-pseudo-reloc -mthreads -Wl -Wl,-subsystem,windows -o debug\musicplayer.exe debug/main.o debug/mainwindow.o debug/moc_mainwindow.o -L"c:\Qt\2009.03\qt\lib" -lmingw32 -lqtmaind -lphonond -lQtGuid4 -lQtCored4
mingw32-make[1]: Leaving directory `C:/Qt/2009.03/qt/examples/phonon/musicplayer'
mingw32-make: Leaving directory `C:/Qt/2009.03/qt/examples/phonon/musicplayer'
C:\Qt\2009.03\phonon4qtmingw\mingw\bin\..\lib\gcc\ mingw32\3.4.5\..\..\..\..\mingw32\bin\ld.exe: cannot find -lphonond
collect2: ld returned 1 exit status
mingw32-make[1]: *** [debug\musicplayer.exe] Error 1
mingw32-make: *** [debug] Error 2
Exited with code 2.
Error while building project musicplayer
When executing build step 'Make'
get the latest Qt. it has phonon support. you don't need to the magical package anymore.
Bookmarks