qtdebug和release加载不同的文件配置

win32:CONFIG(release, debug|release): {

LIBS +=$$PWD/../../../thirdpartyqwtlibqwt.lib
LIBS +=$$PWD/../../../thirdpartyxlsxlibQt5Xlsx.lib
}
else:win32:CONFIG(debug, debug|release): {
LIBS +=$$PWD/../../../thirdpartyqwtlibqwtd.lib
LIBS +=$$PWD/../../../thirdpartyxlsxlibQt5Xlsxd.lib
}
这样在debug和release可以现在不同的lib文件
原文地址:https://www.cnblogs.com/tianmochou/p/8403930.html