2 Star 1 Fork 0

道根/QtAV

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
QtAV.pro 2.99 KB
一键复制 编辑 原始数据 按行查看 历史
LucasWang 提交于 2016-04-10 17:31 . let mingw build d3d11 decoder
include(root.pri)
TEMPLATE = subdirs
CONFIG -= ordered
SUBDIRS = libqtav tools
libqtav.file = src/libQtAV.pro
!no-widgets {
SUBDIRS += libqtavwidgets
libqtavwidgets.file = widgets/libQtAVWidgets.pro
libqtavwidgets.depends = libqtav
examples.depends += libqtavwidgets #TODO: enable widgets based examples
}
greaterThan(QT_MAJOR_VERSION, 4) {
# qtHaveModule does not exist in Qt5.0
isEqual(QT_MINOR_VERSION, 0)|qtHaveModule(quick) {
SUBDIRS += libqmlav
libqmlav.file = qml/libQmlAV.pro
libqmlav.depends += libqtav
examples.depends += libqmlav
}
}
!no-examples {
SUBDIRS += examples
examples.depends += libqtav
}
!cross_compile:!no-tests {
SUBDIRS += tests
tests.depends += libqtav libqtavwidgets
}
OTHER_FILES += README.md TODO.txt Changelog
OTHER_FILES += templates/vo.h templates/vo.cpp templates/COPYRIGHT.h templates/mkclass.sh
OTHER_FILES += \
templates/base.h templates/base.cpp templates/base_p.h \
templates/derived.h templates/derived.cpp templates/derived_p.h \
templates/final.h templates/final.cpp
#OTHER_FILES += config.test/mktest.sh
EssentialDepends = avutil avcodec avformat swscale
winrt: CONFIG *= no-avdevice no-openal no-portaudio no-dsound no-gdiplus
OptionalDepends = swresample avresample
!no-avfilter: OptionalDepends *= avfilter
!no-avdevice: OptionalDepends *= avdevice
# QtOpenGL module. In Qt5 we can disable it and still have opengl support
contains(QT_CONFIG, opengl):!no-gl:!no-widgets {
greaterThan(QT_MAJOR_VERSION, 4):qtHaveModule(opengl):!config_gl {
GL=config_gl done_config_gl
cache(CONFIG, add, GL)
} else {
OptionalDepends *= gl
}
}
## sse2 sse4_1 may be defined in Qt5 qmodule.pri but is not included. Qt4 defines sse and sse2
#configure.prf always use simulator
!iphoneos:!no-sse4_1:!sse4_1: OptionalDepends *= sse4_1
# no-xxx can set in $$PWD/user.conf
!no-openal:!mac:!ios: OptionalDepends *= openal #FIXME: ios openal header not found in qtCompileTest but fine if manually make
!no-libass: OptionalDepends *= libass
!no-uchardet: OptionalDepends *= uchardet
win32:macx:!android:!winrt:!no-portaudio: OptionalDepends *= portaudio
win32 {
OptionalDepends *= dx
!no-xaudio2: OptionalDepends *= xaudio2
!no-direct2d:!no-widgets: OptionalDepends *= direct2d
!no-dxva: OptionalDepends *= dxva
!no-d3d11va: OptionalDepends *= d3d11va
!no-dsound: OptionalDepends *= dsound
!no-gdiplus:!no-widgets: OptionalDepends *= gdiplus
}
unix:!mac {
!android {
!no-pulseaudio: OptionalDepends *= pulseaudio
!no-x11:!no-widgets: OptionalDepends *= x11
!no-xv:!no-widgets: OptionalDepends *= xv
!no-vaapi: OptionalDepends *= vaapi
}
!no-cedarv: OptionalDepends *= libcedarv
}
mac|ios {
!no-videotoolbox: OptionalDepends *= videotoolbox
}
runConfigTests()
!config_avresample:!config_swresample {
error("libavresample or libswresample is required. Setup your environment correctly then delete $$BUILD_DIR/.qmake.conf and run qmake again")
}
PACKAGE_VERSION = $$QTAV_VERSION
PACKAGE_NAME= QtAV
include(pack.pri)
#packageSet($$QTAV_VERSION, QtAV)
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/chamsdoncon_msn/QtAV.git
git@gitee.com:chamsdoncon_msn/QtAV.git
chamsdoncon_msn
QtAV
QtAV
master

搜索帮助