- 动态库pro设置VERSION = 1.0.1901.0时,产生目标名字总会带数字1
解决方法:CONFIG += skip_target_version_ext
- 设置输出路径
-
DESTDIR = ./output
- 静态链接
-
LIBS += -L$$PWD/../../lib -lopencv_world320
DESTDIR = ./output
LIBS += -L$$PWD/../../lib -lopencv_world320
转载于:https://www.cnblogs.com/huanyinglvtuan/p/11280013.html