Page 2 of 2 FirstFirst 12
Results 21 to 29 of 29

Thread: phonon4qtmingw.zip - a magical package!

  1. #21
    Join Date
    May 2009
    Posts
    147
    Thanks
    11
    Thanked 6 Times in 5 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: phonon4qtmingw.zip - a magical package!

    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 07:30.

  2. #22
    Join Date
    Jul 2008
    Posts
    69
    Thanks
    9
    Thanked 4 Times in 4 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: phonon4qtmingw.zip - a magical package!

    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:
    1. Setting up a MinGW/Qt only environment...
    2. -- QTDIR set to C:\Qt\4.5.2
    3. -- PATH set to C:\Qt\4.5.2\bin
    4. -- Adding C:\MinGW\bin to PATH
    5. -- Adding C:\WINDOWS\System32 to PATH
    6. -- QMAKESPEC set to win32-g++
    7.  
    8. C:\Qt\4.5.2>phonon4qt
    9.  
    10. this will build qt (mingw version) with phonon support
    11. overal operation typically takes hours (e.g. 5 hours on a 800MHz CPU)
    12. do you want to automatically shutdown your system after completion of the build
    13. proccess?
    14. (y/n): y
    15.  
    16. Press any key to continue . . .
    17.  
    18. do you want all messages printed by the build tools
    19. to be redirected to the log file instead of displaying on the console?
    20. (y/n): y
    21.  
    22. phonon4qt's log file's address is: "C:\Qt\4.5.2\phonon4qt.log"
    23.  
    24. Press any key to continue . . .
    25.  
    26. getting user options is done
    27. now the rest of operations for building qt are automatic (no user intervention)
    28. configure and mingw32-make commands will be run consecutively
    29. with command line options needed for building qt's phonon with mingw
    30. note that this program doesn't try to manage or
    31. even recognize any errors in the build process
    32. but if you have the prerequisites there should be no problems
    33. please report the result of your build to me if you can
    34. email me at: hamidreza_mz -=at=- yahoo -=dot=- com
    35. building takes a long time
    36. you can leave your machine alone if you want, after pressing one more any key!
    37.  
    38. press any key to begin the rest of operations that are fully automatic...
    39. The system cannot find the path specified.
    40.  
    41. ====================================================================
    42. current directory: C:\Qt\4.5.2
    43. ====================================================================
    44.  
    45. step 1: adding new files to and patching some mingw's header files...
    46.  
    47. can't find file to patch at input line 11
    48. Perhaps you should have used the -p or --strip option?
    49. The text leading up to this was:
    50. --------------------------
    51. |? include/ddraw.h
    52. |? include/dmo.h
    53. |? include/dmodshow.h
    54. |? include/medparam.h
    55. |? include/qnetwork.h
    56. |Index: include/amvideo.h
    57. |===================================================================
    58. |RCS file: /cvs/src/src/winsup/w32api/include/amvideo.h,v
    59. |retrieving revision 1.4
    60. |diff -r1.4 amvideo.h
    61. --------------------------
    62. File to patch:
    To copy to clipboard, switch view to plain text mode 
    Last edited by SunnySan; 17th October 2009 at 12:42. Reason: updated contents

  3. #23
    Join Date
    May 2009
    Posts
    147
    Thanks
    11
    Thanked 6 Times in 5 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: phonon4qtmingw.zip - a magical package!

    please see where is the mingw directory.
    there should be a directory named `mingw' (or something similar) somewhere in your qt installation directory.

  4. #24
    Join Date
    May 2009
    Posts
    147
    Thanks
    11
    Thanked 6 Times in 5 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: phonon4qtmingw.zip - a magical package!

    a new version of phonon4qtmingw is made available.
    i corrected a bug (encountered in 64bit environment) and added the "debug-and-release" mode to it.
    now it asks from you whether you want to build in release mode only or debug versions be built too.
    note that building in release mode only, is considerably faster (in my test, about 50% faster), so i added the option, and it may be useful for some tests and problems too.
    package is even smaller now (3 MB) because i removed the 64 bit dx sdk libs (apparently qt doesn't support 64 bit build for windows)

    here is the download link:
    http://www.4shared.com/file/14667485...tmingw--2.html
    Last edited by FS Lover; 5th November 2009 at 10:08.

  5. #25
    Join Date
    May 2009
    Posts
    147
    Thanks
    11
    Thanked 6 Times in 5 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: phonon4qtmingw.zip - a magical package!

    a new version of phonon4qtmingw is available now.
    its speed is enhanced very much because now only those parts related to generating phonon backend and lib are built.
    it is somewhat experimental since I used a non-standard and empirical method to further speed up the overall build process (I replaced the configure step), but I tested it with qt-sdk-win-opensource-2009.04 on two machines running windows xp sp2 and 3 and saw no problems.
    download and test it and tell about your results.
    it adds phonon to your open source Qt SDK in 15 minutes on a 800MHz CPU!!
    configure step took 40 minutes on that system, so I thought to replace it with another method that does not need configuring of the entire Qt.

    download link: http://www.4shared.com/file/16194284...tmingw--3.html

  6. #26
    Join Date
    May 2007
    Posts
    131
    Thanks
    17
    Thanked 4 Times in 2 Posts

    Default Re: phonon4qtmingw.zip - a magical package!

    Will it work with the newly released qt 4.6.0?

  7. #27
    Join Date
    May 2009
    Posts
    147
    Thanks
    11
    Thanked 6 Times in 5 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: phonon4qtmingw.zip - a magical package!

    apparently Qt SDK 2009.05 (with Qt 4.6) is already phonon ready.
    it seems that there is no need to the magical package any more.

  8. #28
    Join Date
    Sep 2009
    Posts
    39
    Thanks
    3
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Default Re: phonon4qtmingw.zip - a magical package!

    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'

  9. #29
    Join Date
    May 2009
    Posts
    147
    Thanks
    11
    Thanked 6 Times in 5 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: phonon4qtmingw.zip - a magical package!

    get the latest Qt. it has phonon support. you don't need to the magical package anymore.

Similar Threads

  1. Qt binary package on different distributions - problem
    By Tux-Slack in forum Qt Programming
    Replies: 6
    Last Post: 6th August 2008, 12:33
  2. how to integrate Qtopia with the Helix source package
    By hrudhay in forum Qt for Embedded and Mobile
    Replies: 0
    Last Post: 19th June 2008, 12:23
  3. Creating Package Installer
    By AP.Sakkthivel in forum General Programming
    Replies: 3
    Last Post: 18th July 2007, 20:18

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.