qt_demoe/vlcdemo/vlc/vlc.pri

34 lines
669 B
Plaintext
Raw Normal View History

2020-08-27 07:38:19 +00:00
HEADERS += $$PWD/vlchead.h
HEADERS += $$PWD/vlc.h
SOURCES += $$PWD/vlc.cpp
2020-04-22 06:36:41 +00:00
#如果用的是vlc3内核请将vlc2改成vlc3,两种内核不兼容,头文件也不一样,建议用vlc2
DEFINES += vlc2
2020-04-22 06:36:41 +00:00
#vlc3则使用vlc3的目录
contains(DEFINES, vlc3) {
strPath = vlc3
} else {
strPath = vlc2
}
#表示64位的构建套件
contains(QT_ARCH, x86_64) {
2020-04-22 06:36:41 +00:00
strLib = winlib64
strInclude = include64
} else {
strLib = winlib
strInclude = include
2020-04-22 06:36:41 +00:00
}
INCLUDEPATH += $$PWD/$$strPath/$$strInclude
INCLUDEPATH += $$PWD/$$strPath/$$strInclude/plugins
win32 {
LIBS += -L$$PWD/$$strPath/$$strLib/ -llibvlc -llibvlccore
}
#需要自己改为对应目录下的库
unix:!macx {}
macx {}