mirror of
https://github.com/barry-ran/QtScrcpy.git
synced 2025-08-04 06:38:39 +00:00
适配mac
This commit is contained in:
parent
6862c4a811
commit
b542294f54
1 changed files with 15 additions and 7 deletions
|
@ -83,15 +83,23 @@ INCLUDEPATH += \
|
||||||
# ***********************************************************
|
# ***********************************************************
|
||||||
# 依赖模块
|
# 依赖模块
|
||||||
# ***********************************************************
|
# ***********************************************************
|
||||||
|
# Win平台下依赖模块
|
||||||
|
win32 {
|
||||||
LIBS += \
|
LIBS += \
|
||||||
-L$$PWD/../third_party/ffmpeg/lib -lavcodec \
|
-L$$PWD/../third_party/ffmpeg/lib -lavcodec \
|
||||||
-L$$PWD/../third_party/ffmpeg/lib -lavformat \
|
-L$$PWD/../third_party/ffmpeg/lib -lavformat \
|
||||||
-L$$PWD/../third_party/ffmpeg/lib -lavutil \
|
-L$$PWD/../third_party/ffmpeg/lib -lavutil \
|
||||||
-L$$PWD/../third_party/ffmpeg/lib -lswscale
|
-L$$PWD/../third_party/ffmpeg/lib -lswscale \
|
||||||
|
-lUser32
|
||||||
|
}
|
||||||
|
|
||||||
# Win平台下依赖模块
|
# mac平台下依赖模块
|
||||||
win32 {
|
macos {
|
||||||
LIBS += -lUser32
|
LIBS += \
|
||||||
|
-L$$PWD/../third_party/ffmpeg/lib -lavcodec.58 \
|
||||||
|
-L$$PWD/../third_party/ffmpeg/lib -lavformat.58 \
|
||||||
|
-L$$PWD/../third_party/ffmpeg/lib -lavutil.56 \
|
||||||
|
-L$$PWD/../third_party/ffmpeg/lib -lswscale.5
|
||||||
}
|
}
|
||||||
|
|
||||||
RESOURCES += \
|
RESOURCES += \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue