1 Star 1 Fork 1

Devin / XPlay3

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
XPlay3.pro 3.24 KB
一键复制 编辑 原始数据 按行查看 历史
伊兴龙 提交于 2022-09-14 16:29 . 增加了推流
QT += core gui opengl multimedia
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
CONFIG += c++11
# You can make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
CONFIG(debug, debug|release) {
win32:msvc {
contains(QT_ARCH, i386) {
DESTDIR = ../bin\win32_msvc_debug
LIBS += \
$$PWD/lib/win32/avcodec.lib \
$$PWD/lib/win32/avformat.lib \
$$PWD/lib/win32/avutil.lib \
$$PWD/lib/win32/swscale.lib \
$$PWD/lib/win32/swresample.lib
} else {
DESTDIR = ../bin\win64_msvc_debug
LIBS += \
$$PWD/lib/win64/avcodec.lib \
$$PWD/lib/win64/avformat.lib \
$$PWD/lib/win64/avutil.lib \
$$PWD/lib/win64/swscale.lib \
$$PWD/lib/win64/swresample.lib
}
}
win32:mingw {
contains(QT_ARCH, i386) {
DESTDIR = ../bin\win32_mingw_debug
} else {
DESTDIR = ../bin\win64_mingw_debug
}
}
unix{
DESTDIR = ../bin/linux64_debug
}
}
CONFIG(release, debug|release) {
win32:msvc {
contains(QT_ARCH, i386) {
MOC_DIR = ./win32_msvc_release_moc
OBJECTS_DIR = ./win32_msvc_release_obj
DESTDIR = ../bin\win32_msvc_release
LIBS += \
$$PWD/lib/win32/avcodec.lib \
$$PWD/lib/win32/avformat.lib \
$$PWD/lib/win32/avutil.lib \
$$PWD/lib/win32/swscale.lib \
$$PWD/lib/win32/swresample.lib
} else {
MOC_DIR = ./win64_msvc_release_moc
OBJECTS_DIR = ./win64_msvc_release_obj
DESTDIR = ../bin\win64_msvc_release
LIBS += \
$$PWD/lib/win64/avcodec.lib \
$$PWD/lib/win64/avformat.lib \
$$PWD/lib/win64/avutil.lib \
$$PWD/lib/win64/swscale.lib \
$$PWD/lib/win64/swresample.lib
}
}
win32:mingw{
contains(QT_ARCH, i386) {
DESTDIR = ../bin\win32_mingw_release
} else {
DESTDIR = ../bin\win64_mingw_release
}
}
unix{
DESTDIR = ../bin/linux64_release
}
}
INCLUDEPATH += \
$$PWD/include
SOURCES += \
XAudioPlay.cpp \
XAudioThread.cpp \
XDecode.cpp \
XDecodeThread.cpp \
XDemux.cpp \
XDemuxThread.cpp \
XOpenUrl.cpp \
XPlayCtrl.cpp \
XPushStream.cpp \
XResample.cpp \
XVideoThread.cpp \
XVideoWidget.cpp \
main.cpp \
XPlay3.cpp
HEADERS += \
IVideoWidget.h \
XAudioPlay.h \
XAudioThread.h \
XDecode.h \
XDecodeThread.h \
XDemux.h \
XDemuxThread.h \
XOpenUrl.h \
XPlay3.h \
XPlayCtrl.h \
XPushStream.h \
XResample.h \
XVideoThread.h \
XVideoWidget.h \
Xffmepg.h
FORMS += \
XOpenUrl.ui \
XPlay3.ui \
XPlayCtrl.ui \
XVideoWidget.ui
# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target
1
https://gitee.com/yixinglong/xplay3.git
git@gitee.com:yixinglong/xplay3.git
yixinglong
xplay3
XPlay3
master

搜索帮助