File tree 2 files changed +8
-0
lines changed
2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,10 @@ unix shell环境下的 gcc (也包括环境中有sh.exe的mingw环境):
19
19
export CPATH=ffmpeg_path/include:portaudio_path/include:$CPATH
20
20
export LIBRARY_PATH=ffmpeg_path/include:portaudio_path/lib:$LIBRARY_PATH
21
21
22
+ 由于包含 libQtAV.pri 的工程不会添加 FFmpeg 等相关的链接参数,所以链接器可能会从 $LD_LIBRARY_PATH 中去找 QtAV 库的依赖库:
23
+
24
+ export LD_LIBRARY_PATH=ffmpeg_path/lib:portaudio_path/lib:$LD_LIBRARY_PATH
25
+
22
26
windows 无sh.exe的环境下的 gcc
23
27
24
28
set CPATH=ffmpeg_path\include;portaudio_path\include;%CPATH%
Original file line number Diff line number Diff line change @@ -19,6 +19,10 @@ gcc in unix shell environment(including mingw with sh.exe):
19
19
export CPATH=ffmpeg_path/include:portaudio_path/include:$CPATH
20
20
export LIBRARY_PATH=ffmpeg_path/include:portaudio_path/lib:$LIBRARY_PATH
21
21
22
+ The project includes libQtAV.pri will not add linking options about FFmpeg etc., so the linker may find the depended libraries from $LD_LIBRARY_PATH:
23
+
24
+ export LD_LIBRARY_PATH=ffmpeg_path/lib:portaudio_path/lib:$LD_LIBRARY_PATH
25
+
22
26
gcc in windows cmd environment without sh.exe
23
27
24
28
set CPATH=ffmpeg_path\include;portaudio_path\include;%CPATH%
You can’t perform that action at this time.
0 commit comments