QT中Debug与Release版本载入不同动态库

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

LIBS +=$$PWD/../../../thirdparty\qwt\lib\qwt.lib
LIBS +=$$PWD/../../../thirdparty\xlsx\lib\Qt5Xlsx.lib
}
else:win32:CONFIG(debug, debug|release): {
LIBS +=$$PWD/../../../thirdparty\qwt\lib\qwtd.lib
LIBS +=$$PWD/../../../thirdparty\xlsx\lib\Qt5Xlsxd.lib
}

这样在debug和release可以现在不同的lib文件

你可能感兴趣的:(QT)