1 增加动态库
pro文件中LIBS一行中添加
如新增libvlc.so
LIBS += -L/usr/local/lib -lvlc
其中/usr/local/lib为libvlc.so所处的绝对路径
2. 静态库
如libvlc.a
1 LIBS += /usr/local/lib/libvlc.a
3. 头文件路径
例如/usr/local/include
INCLUDEPATH += /usr/local/include
Powered by: 博客园 Copyright © 2024 黑色の铅笔 Powered by .NET 9.0 on Kubernetes