Не поделитесь опытом? Если есть возможность - пошаговая инструкция была бы очень кстати.
Вот же лежит:
http://wiki.qtcentre.org/index.php?title=Building_the_Phonon_backend_plugin_on_Windows_using_MinGWКстати проверить работу phonon'a легко из Designer'a после сборки, там виджеты соотв. появляются.
P.S.: обнаружил странную вещь. У меня есть два архива с исходниками:
qt-win-opensource-src-4.5.0-snapshot-20090120.zip - без phonon'a
qt-win-opensource-src-4.5.0.zip - с phonon'ом
---
Попытался собрать Qt статически. Запоролся на этапе сборки Assistant.exe. ld висел 25 минут, после чего выдал:
g++ -enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-pseudo-reloc -Wl,-subsystem,windows -o ../../../../bin/assistant.exe object_script.assistant.Debug -L'd:/Work/qt-win-opensource-src-4.5.0static/lib' -L'd:/Work/qt-win-opensource-src-4.5.0static/lib' -lmingw32 -lqtmaind tmp/obj/debug_static/assistant_res.o -LD:/Work/qt-win-opensource-src-4.5.0static/plugins/sqldrivers -lQtHelpd -lQtWebKitd -lQtCLucened -lQtSqld -lQtXmld -lshlwapi -lversion -lphonond -lQtNetworkd -lodbc32 -lQtGuid -lgdi32 -lcomdlg32 -loleaut32 -limm32 -lwinmm -lwinspool -lmsimg32 -lQtCored -lkernel32 -luser32 -lshell32 -luuid -lole32 -ladvapi32 -lws2_32
d:/Work/qt-win-opensource-src-4.5.0static/lib/libQtWebKitd.a(MediaPlayerPrivatePhonon.o)(.text+0x93):MediaPlayerPrivatePhonon.cpp: undefined reference to `_imp___ZNK6Phonon11MediaObject5stateEv'
d:/Work/qt-win-opensource-src-4.5.0static/lib/libQtWebKitd.a(MediaPlayerPrivatePhonon.o)(.text+0xd0):MediaPlayerPrivatePhonon.cpp: undefined reference to `_imp___ZNK6Phonon11MediaObject11currentTimeEv'
d:/Work/qt-win-opensource-src-4.5.0static/lib/libQtWebKitd.a(MediaPlayerPrivatePhonon.o)(.text+0x104):MediaPlayerPrivatePhonon.cpp: undefined reference to `_imp___ZNK6Phonon11MediaObject13remainingTimeEv'
d:/Work/qt-win-opensource-src-4.5.0static/lib/libQtWebKitd.a(MediaPlayerPrivatePhonon.o)(.text+0x138):MediaPlayerPrivatePhonon.cpp: undefined reference to `_imp___ZNK6Phonon11MediaObject9totalTimeEv'
d:/Work/qt-win-opensource-src-4.5.0static/lib/libQtWebKitd.a(MediaPlayerPrivatePhonon.o)(.text+0x186):MediaPlayerPrivatePhonon.cpp: undefined reference to `_imp___ZNK6Phonon11MediaObject8metaDataEv'
d:/Work/qt-win-opensource-src-4.5.0static/lib/libQtWebKitd.a(MediaPlayerPrivatePhonon.o)(.text+0x23d):MediaPlayerPrivatePhonon.cpp: undefined reference to `_imp___ZNK6Phonon11MediaObject8hasVideoEv'
d:/Work/qt-win-opensource-src-4.5.0static/lib/libQtWebKitd.a(MediaPlayerPrivatePhonon.o)(.text+0x26c):MediaPlayerPrivatePhonon.cpp: undefined reference to `_imp___ZNK6Phonon11MediaObject10isSeekableEv'
d:/Work/qt-win-opensource-src-4.5.0static/lib/libQtWebKitd.a(MediaPlayerPrivatePhonon.o)(.text+0x33d):MediaPlayerPrivatePhonon.cpp: undefined reference to `_imp___ZN6Phonon11MediaObjectC1EP7QObject'
d:/Work/qt-win-opensource-src-4.5.0static/lib/libQtWebKitd.a(MediaPlayerPrivatePhonon.o)(.text+0x363):MediaPlayerPrivatePhonon.cpp: undefined reference to `_imp___ZN6Phonon11VideoWidgetC1EP7QWidget'
d:/Work/qt-win-opensource-src-4.5.0static/lib/libQtWebKitd.a(MediaPlayerPrivatePhonon.o)(.text+0x389):MediaPlayerPrivatePhonon.cpp: undefined reference to `_imp___ZN6Phonon11AudioOutputC1EP7QObject'
d:/Work/qt-win-opensource-src-4.5.0static/lib/libQtWebKitd.a(MediaPlayerPrivatePhonon.o)(.text+0x40e):MediaPlayerPrivatePhonon.cpp: undefined reference to `_imp___ZN6Phonon10createPathEPNS_9MediaNodeES1_'
d:/Work/qt-win-opensource-src-4.5.0static/lib/libQtWebKitd.a(MediaPlayerPrivatePhonon.o)(.text+0x41e):MediaPlayerPrivatePhonon.cpp: undefined reference to `_imp___ZN6Phonon4PathD1Ev'
d:/Work/qt-win-opensource-src-4.5.0static/lib/libQtWebKitd.a(MediaPlayerPrivatePhonon.o)(.text+0x47b):MediaPlayerPrivatePhonon.cpp: undefined reference to `_imp___ZN6Phonon10createPathEPNS_9MediaNodeES1_'
d:/Work/qt-win-opensource-src-4.5.0static/lib/libQtWebKitd.a(MediaPlayerPrivatePhonon.o)(.text+0x48b):MediaPlayerPrivatePhonon.cpp: undefined reference to `_imp___ZN6Phonon4PathD1Ev'
d:/Work/qt-win-opensource-src-4.5.0static/lib/libQtWebKitd.a(MediaPlayerPrivatePhonon.o)(.text+0x82d):MediaPlayerPrivatePhonon.cpp: undefined reference to `_imp___ZN6Phonon11MediaObjectC1EP7QObject'
d:/Work/qt-win-opensource-src-4.5.0static/lib/libQtWebKitd.a(MediaPlayerPrivatePhonon.o)(.text+0x853):MediaPlayerPrivatePhonon.cpp: undefined reference to `_imp___ZN6Phonon11VideoWidgetC1EP7QWidget'
d:/Work/qt-win-opensource-src-4.5.0static/lib/libQtWebKitd.a(MediaPlayerPrivatePhonon.o)(.text+0x879):MediaPlayerPrivatePhonon.cpp: undefined reference to `_imp___ZN6Phonon11AudioOutputC1EP7QObject'
d:/Work/qt-win-opensource-src-4.5.0static/lib/libQtWebKitd.a(MediaPlayerPrivatePhonon.o)(.text+0x8fe):MediaPlayerPrivatePhonon.cpp: undefined reference to `_imp___ZN6Phonon10createPathEPNS_9MediaNodeES1_'
d:/Work/qt-win-opensource-src-4.5.0static/lib/libQtWebKitd.a(MediaPlayerPrivatePhonon.o)(.text+0x90e):MediaPlayerPrivatePhonon.cpp: undefined reference to `_imp___ZN6Phonon4PathD1Ev'
d:/Work/qt-win-opensource-src-4.5.0static/lib/libQtWebKitd.a(MediaPlayerPrivatePhonon.o)(.text+0x96b):MediaPlayerPrivatePhonon.cpp: undefined reference to `_imp___ZN6Phonon10createPathEPNS_9MediaNodeES1_'
d:/Work/qt-win-opensource-src-4.5.0static/lib/libQtWebKitd.a(MediaPlayerPrivatePhonon.o)(.text+0x97b):MediaPlayerPrivatePhonon.cpp: undefined reference to `_imp___ZN6Phonon4PathD1Ev'
d:/Work/qt-win-opensource-src-4.5.0static/lib/libQtWebKitd.a(MediaPlayerPrivatePhonon.o)(.text+0xf34):MediaPlayerPrivatePhonon.cpp: undefined reference to `_imp___ZNK6Phonon11MediaObject8hasVideoEv'
d:/Work/qt-win-opensource-src-4.5.0static/lib/libQtWebKitd.a(MediaPlayerPrivatePhonon.o)(.text+0xfc1):MediaPlayerPrivatePhonon.cpp: undefined reference to `_imp___ZN6Phonon11MediaSourceC1ERK4QUrl'
d:/Work/qt-win-opensource-src-4.5.0static/lib/libQtWebKitd.a(MediaPlayerPrivatePhonon.o)(.text+0xfd8):MediaPlayerPrivatePhonon.cpp: undefined reference to `_imp___ZN6Phonon11MediaObject16setCurrentSourceERKNS_11MediaSourceE'
d:/Work/qt-win-opensource-src-4.5.0static/lib/libQtWebKitd.a(MediaPlayerPrivatePhonon.o)(.text+0xfe5):MediaPlayerPrivatePhonon.cpp: undefined reference to `_imp___ZN6Phonon11MediaSourceD1Ev'
d:/Work/qt-win-opensource-src-4.5.0static/lib/libQtWebKitd.a(MediaPlayerPrivatePhonon.o)(.text+0x101d):MediaPlayerPrivatePhonon.cpp: undefined reference to `_imp___ZN6Phonon11AudioOutput9setVolumeEd'
d:/Work/qt-win-opensource-src-4.5.0static/lib/libQtWebKitd.a(MediaPlayerPrivatePhonon.o)(.text+0x105c):MediaPlayerPrivatePhonon.cpp: undefined reference to `_imp___ZN6Phonon11MediaObject4playEv'
d:/Work/qt-win-opensource-src-4.5.0static/lib/libQtWebKitd.a(MediaPlayerPrivatePhonon.o)(.text+0x1074):MediaPlayerPrivatePhonon.cpp: undefined reference to `_imp___ZN6Phonon11MediaObject5pauseEv'
d:/Work/qt-win-opensource-src-4.5.0static/lib/libQtWebKitd.a(MediaPlayerPrivatePhonon.o)(.text+0x108c):MediaPlayerPrivatePhonon.cpp: undefined reference to `_imp___ZNK6Phonon11MediaObject5stateEv'
d:/Work/qt-win-opensource-src-4.5.0static/lib/libQtWebKitd.a(MediaPlayerPrivatePhonon.o)(.text+0x10b2):MediaPlayerPrivatePhonon.cpp: undefined reference to `_imp___ZNK6Phonon11MediaObject10isSeekableEv'
d:/Work/qt-win-opensource-src-4.5.0static/lib/libQtWebKitd.a(MediaPlayerPrivatePhonon.o)(.text+0x111e):MediaPlayerPrivatePhonon.cpp: undefined reference to `_imp___ZN6Phonon11MediaObject4seekEx'
d:/Work/qt-win-opensource-src-4.5.0static/lib/libQtWebKitd.a(MediaPlayerPrivatePhonon.o)(.text+0x1150):MediaPlayerPrivatePhonon.cpp: undefined reference to `_imp___ZNK6Phonon11MediaObject9totalTimeEv'
d:/Work/qt-win-opensource-src-4.5.0static/lib/libQtWebKitd.a(MediaPlayerPrivatePhonon.o)(.text+0x11a0):MediaPlayerPrivatePhonon.cpp: undefined reference to `_imp___ZNK6Phonon11MediaObject11currentTimeEv'
d:/Work/qt-win-opensource-src-4.5.0static/lib/libQtWebKitd.a(MediaPlayerPrivatePhonon.o)(.text+0x1217):MediaPlayerPrivatePhonon.cpp: undefined reference to `_imp___ZN6Phonon11AudioOutput9setVolumeEd'
d:/Work/qt-win-opensource-src-4.5.0static/lib/libQtWebKitd.a(MediaPlayerPrivatePhonon.o)(.text+0x123e):MediaPlayerPrivatePhonon.cpp: undefined reference to `_imp___ZN6Phonon11AudioOutput8setMutedEb'
d:/Work/qt-win-opensource-src-4.5.0static/lib/libQtWebKitd.a(MediaPlayerPrivatePhonon.o)(.text+0x1302):MediaPlayerPrivatePhonon.cpp: undefined reference to `_imp___ZNK6Phonon11MediaObject5stateEv'
d:/Work/qt-win-opensource-src-4.5.0static/lib/libQtWebKitd.a(MediaPlayerPrivatePhonon.o)(.text+0x1339):MediaPlayerPrivatePhonon.cpp: undefined reference to `_imp___ZN6Phonon11MediaObject5pauseEv'
d:/Work/qt-win-opensource-src-4.5.0static/lib/libQtWebKitd.a(MediaPlayerPrivatePhonon.o)(.text+0x1376):MediaPlayerPrivatePhonon.cpp: undefined reference to `_imp___ZNK6Phonon11MediaObject9errorTypeEv'
d:/Work/qt-win-opensource-src-4.5.0static/lib/libQtWebKitd.a(MediaPlayerPrivatePhonon.o)(.text+0x13ae):MediaPlayerPrivatePhonon.cpp: undefined reference to `_imp___ZN6Phonon11MediaObject5pauseEv'
collect2: ld returned 1 exit status
make[5]: *** [../../../../bin/assistant.exe] Error 1
Ктонить французский знает
?
http://forum.qtfr.org/viewtopic.php?id=6270 хотя вот
http://translate.google.ru/translate?hl=ru&sl=fr&u=http://forum.qtfr.org/viewtopic.php%3Fid%3D6270&ei=QQq9Sd6CIIyHsAb05qjoDg&sa=X&oi=translate&resnum=1&ct=result&prev=/search%3Fq%3Dhttp://forum.qtfr.org/viewtopic.php%253Fid%253D6270%26hl%3Dru%26lr%3D%26sa%3DG%26newwindow%3D1