windows编译qtav
2015-11-21 23:57
495 查看
error: avutil is required, but compiler can not find it.
You should set some environment vars so that compiler can find FFmpeg and other libraries files.
For VC compiler, they are INCLUDE and LIB. For gcc, they are CPATH and LIBRARY_PATH. e.g.
vc:
set INCLUDE=ffmpeg_path\include;portaudio_path\include;%INCLUDE% set LIB=ffmpeg_path\lib;portaudio_path\lib;%LIB%
gcc in unix shell environment(including mingw with sh.exe):
export CPATH=ffmpeg_path/include:portaudio_path/include:$CPATH export LIBRARY_PATH=ffmpeg_path/include:portaudio_path/lib:$LIBRARY_PATH
gcc in windows cmd environment without sh.exe
set CPATH=ffmpeg_path\include;portaudio_path\include;%CPATH% set LIBRARY_PATH=ffmpeg_path\lib;portaudio_path\lib;%LIBRARY_PATH%
If you are building in QtCreator, goto QtCreator's 'Projects' page and add or append those environment.
I think i should write some documents to show how to build QtAV.
不能自己添加名字!
相关文章推荐
- PyQt4(简单计算器)
- Qt——正则表达式
- Webkit之Port类(ChromeClientQt类)
- 图像处理qt实现
- QTP
- MQTT实现消息推送
- Qt5调用QPixmap::fromWinHICON
- Qt实现图像自适应窗口大小之scaled()函数使用
- qt5
- 关于Qt的QFileDialog的使用问题
- Qt可执行程序写入版本信息
- Qt 手动生成moc 文件
- Qt制作Aero特效窗口
- Qt使用QGraphicsView实现滑动窗体效果
- QT显示图片
- QT 小票打印
- QT中嵌入SDL
- qt 自动完成LineEdit
- qt 4.6.2 vs 2005 + QCreator 开发环境配置(有注册码)
- QT VS配置UNICODE问题