2023-12-15 04:55:21 +00:00
|
|
|
#默认用vlc3
|
|
|
|
!contains(DEFINES, vlc2) {
|
|
|
|
!contains(DEFINES, vlc3) {
|
|
|
|
DEFINES *= vlc3
|
|
|
|
}}
|
2021-11-19 07:31:35 +00:00
|
|
|
|
2023-12-15 04:55:21 +00:00
|
|
|
#区分主目录
|
2020-04-22 06:36:41 +00:00
|
|
|
contains(DEFINES, vlc3) {
|
2023-12-15 04:55:21 +00:00
|
|
|
path_main = vlc3
|
2020-04-22 06:36:41 +00:00
|
|
|
} else {
|
2023-12-15 04:55:21 +00:00
|
|
|
path_main = vlc2
|
2020-04-22 06:36:41 +00:00
|
|
|
}
|
|
|
|
|
2020-06-20 05:20:30 +00:00
|
|
|
contains(QT_ARCH, x86_64) {
|
2023-12-15 04:55:21 +00:00
|
|
|
path_lib = libwin64
|
2020-06-20 05:20:30 +00:00
|
|
|
} else {
|
2023-12-15 04:55:21 +00:00
|
|
|
path_lib = libwin32
|
2020-04-22 06:36:41 +00:00
|
|
|
}
|
|
|
|
|
2023-12-15 04:55:21 +00:00
|
|
|
#包含头文件
|
|
|
|
INCLUDEPATH += $$PWD/$$path_main/include
|
|
|
|
INCLUDEPATH += $$PWD/$$path_main/include/plugins
|
|
|
|
#链接库文件
|
|
|
|
LIBS += -L$$PWD/$$path_main/$$path_lib -llibvlc -llibvlccore
|
2020-04-22 06:36:41 +00:00
|
|
|
|
2023-12-15 04:55:21 +00:00
|
|
|
HEADERS += $$PWD/vlcinclude.h
|
|
|
|
HEADERS += $$PWD/vlc.h
|
|
|
|
SOURCES += $$PWD/vlc.cpp
|