我的原因是构建工程时debug、release与链接的动态库版本不同 所以只要在pro工程配置文件中分别添加release和debug的链接库即可
# release # LIBS += -L./Lib -lqscintilla2_qt5 # debug LIBS += -L./Lib -lqscintilla2_qt5d