mirror of
https://github.com/barry-ran/QtScrcpy.git
synced 2025-07-29 12:18:39 +00:00
Windows增加ffmpeg-4.1.3-win64支持
This commit is contained in:
parent
fd1beaa9c6
commit
235bd11261
33 changed files with 33 additions and 14 deletions
|
@ -22,7 +22,10 @@ DEFINES += QT_DEPRECATED_WARNINGS
|
|||
# In order to do so, uncomment the following line.
|
||||
# You can also select to disable deprecated APIs only up to a certain version of Qt.
|
||||
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
|
||||
|
||||
msvc{
|
||||
QMAKE_CFLAGS += -source-charset:utf-8
|
||||
QMAKE_CXXFLAGS += -source-charset:utf-8
|
||||
}
|
||||
# 源码
|
||||
SOURCES += \
|
||||
main.cpp \
|
||||
|
@ -58,24 +61,40 @@ INCLUDEPATH += \
|
|||
# Win平台下配置
|
||||
# ***********************************************************
|
||||
win32 {
|
||||
# 输出目录
|
||||
CONFIG(debug, debug|release) {
|
||||
DESTDIR = $$PWD/../output/win/debug
|
||||
contains(QMAKE_TARGET.arch, x86_64) {
|
||||
message("x64")
|
||||
# 输出目录
|
||||
CONFIG(debug, debug|release) {
|
||||
DESTDIR = $$PWD/../output/win-x64/debug
|
||||
} else {
|
||||
DESTDIR = $$PWD/../output/win-x64/release
|
||||
}
|
||||
|
||||
# 依赖模块
|
||||
LIBS += \
|
||||
-L$$PWD/../third_party/ffmpeg/win64/lib -lavformat \
|
||||
-L$$PWD/../third_party/ffmpeg/win64/lib -lavcodec \
|
||||
-L$$PWD/../third_party/ffmpeg/win64/lib -lavutil \
|
||||
-L$$PWD/../third_party/ffmpeg/win64/lib -lswscale
|
||||
} else {
|
||||
DESTDIR = $$PWD/../output/win/release
|
||||
message("x86")
|
||||
# 输出目录
|
||||
CONFIG(debug, debug|release) {
|
||||
DESTDIR = $$PWD/../output/win/debug
|
||||
} else {
|
||||
DESTDIR = $$PWD/../output/win/release
|
||||
}
|
||||
|
||||
# 依赖模块
|
||||
LIBS += \
|
||||
-L$$PWD/../third_party/ffmpeg/lib -lavformat \
|
||||
-L$$PWD/../third_party/ffmpeg/lib -lavcodec \
|
||||
-L$$PWD/../third_party/ffmpeg/lib -lavutil \
|
||||
-L$$PWD/../third_party/ffmpeg/lib -lswscale
|
||||
}
|
||||
|
||||
# 依赖模块
|
||||
LIBS += \
|
||||
-L$$PWD/../third_party/ffmpeg/lib -lavformat \
|
||||
-L$$PWD/../third_party/ffmpeg/lib -lavcodec \
|
||||
-L$$PWD/../third_party/ffmpeg/lib -lavutil \
|
||||
-L$$PWD/../third_party/ffmpeg/lib -lswscale
|
||||
|
||||
# windows rc file
|
||||
RC_FILE = $$PWD/res/QtScrcpy.rc
|
||||
}
|
||||
|
||||
# ***********************************************************
|
||||
# Mac平台下配置
|
||||
# ***********************************************************
|
||||
|
|
BIN
backup/ffmpeg-4.1.3-win64-dev.zip
Normal file
BIN
backup/ffmpeg-4.1.3-win64-dev.zip
Normal file
Binary file not shown.
BIN
backup/ffmpeg-4.1.3-win64-shared.zip
Normal file
BIN
backup/ffmpeg-4.1.3-win64-shared.zip
Normal file
Binary file not shown.
BIN
output/win-x64/debug/avcodec-58.dll
Normal file
BIN
output/win-x64/debug/avcodec-58.dll
Normal file
Binary file not shown.
BIN
output/win-x64/debug/avformat-58.dll
Normal file
BIN
output/win-x64/debug/avformat-58.dll
Normal file
Binary file not shown.
BIN
output/win-x64/debug/avutil-56.dll
Normal file
BIN
output/win-x64/debug/avutil-56.dll
Normal file
Binary file not shown.
BIN
output/win-x64/debug/swresample-3.dll
Normal file
BIN
output/win-x64/debug/swresample-3.dll
Normal file
Binary file not shown.
BIN
output/win-x64/debug/swscale-5.dll
Normal file
BIN
output/win-x64/debug/swscale-5.dll
Normal file
Binary file not shown.
BIN
output/win-x64/release/avcodec-58.dll
Normal file
BIN
output/win-x64/release/avcodec-58.dll
Normal file
Binary file not shown.
BIN
output/win-x64/release/avformat-58.dll
Normal file
BIN
output/win-x64/release/avformat-58.dll
Normal file
Binary file not shown.
BIN
output/win-x64/release/avutil-56.dll
Normal file
BIN
output/win-x64/release/avutil-56.dll
Normal file
Binary file not shown.
BIN
output/win-x64/release/swresample-3.dll
Normal file
BIN
output/win-x64/release/swresample-3.dll
Normal file
Binary file not shown.
BIN
output/win-x64/release/swscale-5.dll
Normal file
BIN
output/win-x64/release/swscale-5.dll
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
third_party/ffmpeg/win64/bin/avcodec-58.dll
vendored
Normal file
BIN
third_party/ffmpeg/win64/bin/avcodec-58.dll
vendored
Normal file
Binary file not shown.
BIN
third_party/ffmpeg/win64/bin/avformat-58.dll
vendored
Normal file
BIN
third_party/ffmpeg/win64/bin/avformat-58.dll
vendored
Normal file
Binary file not shown.
BIN
third_party/ffmpeg/win64/bin/avutil-56.dll
vendored
Normal file
BIN
third_party/ffmpeg/win64/bin/avutil-56.dll
vendored
Normal file
Binary file not shown.
BIN
third_party/ffmpeg/win64/bin/swresample-3.dll
vendored
Normal file
BIN
third_party/ffmpeg/win64/bin/swresample-3.dll
vendored
Normal file
Binary file not shown.
BIN
third_party/ffmpeg/win64/bin/swscale-5.dll
vendored
Normal file
BIN
third_party/ffmpeg/win64/bin/swscale-5.dll
vendored
Normal file
Binary file not shown.
BIN
third_party/ffmpeg/win64/lib/avcodec.lib
vendored
Normal file
BIN
third_party/ffmpeg/win64/lib/avcodec.lib
vendored
Normal file
Binary file not shown.
BIN
third_party/ffmpeg/win64/lib/avformat.lib
vendored
Normal file
BIN
third_party/ffmpeg/win64/lib/avformat.lib
vendored
Normal file
Binary file not shown.
BIN
third_party/ffmpeg/win64/lib/avutil.lib
vendored
Normal file
BIN
third_party/ffmpeg/win64/lib/avutil.lib
vendored
Normal file
Binary file not shown.
BIN
third_party/ffmpeg/win64/lib/swresample.lib
vendored
Normal file
BIN
third_party/ffmpeg/win64/lib/swresample.lib
vendored
Normal file
Binary file not shown.
BIN
third_party/ffmpeg/win64/lib/swscale.lib
vendored
Normal file
BIN
third_party/ffmpeg/win64/lib/swscale.lib
vendored
Normal file
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue