QT串口通讯并进行数据库操作 voidWidget::Select()//查询{QStringname=ui->lineEdit->text();model->setFilter(QObject::tr("id='%1'").arg(name));//根据姓名进行筛选model->select();//显示结果}voidWidg
QT串口通讯 串口通讯程序 PROJECT = qextserialport TEMPLATE = lib CONFIG += debug_and_release CONFIG += qt CONFIG += warn_on CONFIG += thread CONFIG += dll #CONFIG += st