摘要: 1.xxx.pro文件:操作库,对库的引用在这,使用库还要在3先声明; 2.xxx.h文件:头文件,声明全局变量和方法; 3.widget.cpp:如果从别的地方复制过来的代码出错,那么可能时没有引用,在第0行写上声明:#include <xxx>; 阅读全文
posted @ 2020-07-23 17:01 十而无用 阅读(104) 评论(0) 推荐(0) 编辑
摘要: 先用1,不能解决再用2. (1)QPushButton* sendButton = new QPushButton(QString::fromLocal8Bit("校准"));(2)QPushButton* sendButton = new QPushButton(QStringLiteral("校 阅读全文
posted @ 2020-07-23 16:51 十而无用 阅读(226) 评论(0) 推荐(0) 编辑