• 6157阅读
  • 2回复

请教:Qt源代码中的mediaplayer怎么运行不了? [复制链接]

上一主题 下一主题
离线wyu_yantu
 
只看楼主 正序阅读 楼主  发表于: 2009-05-14
           在Qt源代码中的mediaplayer怎么运行不了?
     提示信息如下:
Running build steps for project mediaplayer...
Configuration unchanged, skipping QMake step.
Starting: C:/Qt/2009.02/mingw/bin/mingw32-make.exe -w
C:\Qt\2009.02\mingw\bin\mingw32-make.exe: Entering directory `C:/Qt/2009.02/qt/demos/mediaplayer'
C:/Qt/2009.02/mingw/bin/mingw32-make.exe -f Makefile.Debug
mingw32-make.exe[1]: Entering directory `C:/Qt/2009.02/qt/demos/mediaplayer'
g++ -enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-pseudo-reloc -mthreads -Wl -Wl,-subsystem,windows -o debug/mediaplayer.exe debug/main.o debug/mediaplayer.o debug/moc_mediaplayer.o debug/qrc_mediaplayer.o -L'c:/Qt/2009.02/qt/lib' -lmingw32 -lqtmaind -lphonond -lQtGuid4 -lQtCored4
mingw32-make.exe[1]: Leaving directory `C:/Qt/2009.02/qt/demos/mediaplayer'
C:\Qt\2009.02\mingw\bin\mingw32-make.exe: Leaving directory `C:/Qt/2009.02/qt/demos/mediaplayer'
C:\Qt\2009.02\mingw\bin\..\lib\gcc\mingw32\3.4.2\..\..\..\..\mingw32\bin\ld.exe: cannot find -lphonond
collect2: ld returned 1 exit status
mingw32-make.exe[1]: *** [debug/mediaplayer.exe] Error 1
C:\Qt\2009.02\mingw\bin\mingw32-make.exe: *** [debug] Error 2
Exited with code 2.
Error while building project mediaplayer
When executing build step 'Make'

请问怎么解决?
离线onlyonegod
只看该作者 2楼 发表于: 2009-10-18
参考了一下文档,是不是应该在运行Qt script之前,要确保在你的系统上Phonon已经支持。
例如:如果是windows,就需要DirectX, DirectShow version 9或更高版本(安装windows sdk)
如果是linux,就需要 GStreamer 。

详细信息可以看一下Installing phonon
离线jzj139
只看该作者 1楼 发表于: 2009-05-14
link出错 cannot find -lphonond
没有启动lphonond模块 故不能支持
qt
快速回复
限100 字节
 
上一个 下一个