qtdebug和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文件
posted @ 2018-02-02 10:37  beautifulday  阅读(2790)  评论(0编辑  收藏  举报