效果图 实现: LIBS += -L$$PWD/dll/ -ldll //导入动态库 #include <dll.h> //包含头文件 //初始化 Dll *myl = new Dll(this); myl->init(2,"出货体积:","m³");