Qt creator写的custom plugin,我已经把生成的dll和a文件放在相应的目录,搞个test工程Release是可以运行的,但Debug不能运行。然后我在test.pro中这样写
CONFIG(debug,debug|release):LIBS += -xxd.dll -xxd.a
CONFIG(release,debug|release):LIBS +=-xx.dll -xx.a
还是不行,关键是我要调试程序。
Debug运行报错如下截图错
而且在test.pro中构建中报这种警告
redeclared without dllimport attribute: previous dllimport ignored [-Wattributes]