上一页 1 ··· 3 4 5 6 7 8 9 10 11 12 下一页
摘要: QString string;string.prepend(snArrTotal.toHex());// QByteArray转QString LOG(INFO) << string.toStdString(); 阅读全文
posted @ 2020-11-20 15:07 hxqmw 阅读(930) 评论(0) 推荐(0) 编辑
摘要: void SceIPGWidget::on_listWidget_itemDoubleClicked(QListWidgetItem *item) { QWidget* widget = ui->listWidget->itemWidget(item); // 获取里面的QWidget if(wid 阅读全文
posted @ 2020-11-18 19:22 hxqmw 阅读(2525) 评论(0) 推荐(0) 编辑
摘要: //设置listWidget无边框 ui->listWidget->setFrameShape(QListWidget::NoFrame); 阅读全文
posted @ 2020-11-17 11:43 hxqmw 阅读(1287) 评论(0) 推荐(0) 编辑
摘要: 在StyleSheet中添加背景图片后,发现其影响子控件,如下图示: 解决办法: 效果如下: 阅读全文
posted @ 2020-11-16 19:54 hxqmw 阅读(1547) 评论(0) 推荐(1) 编辑
摘要: // prepare data: QVector<double> x1(4), y1(4); for (int i=0; i<x3.size(); ++i) { x4[i] = i + 1; y4[i] = i + 1; } QCPBars *bars1 = new QCPBars(customPl 阅读全文
posted @ 2020-11-11 17:31 hxqmw 阅读(1836) 评论(0) 推荐(0) 编辑
摘要: QJsonObject rootObj = jsonDoc.object(); QString str = QString(QJsonDocument(rootObj).toJson()); QMessageBox::about(NULL, "About", str); 阅读全文
posted @ 2020-09-18 16:47 hxqmw 阅读(822) 评论(0) 推荐(0) 编辑
摘要: 1、找到cl.exe的所在路径,一般在:C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.25.28610\bin\Hostx86\x86 2、在环境变量PATH中添加C:\Program F 阅读全文
posted @ 2020-09-08 16:35 hxqmw 阅读(4695) 评论(0) 推荐(2) 编辑
摘要: QT Launching Debugger 一直卡住,无法调试 解决: 如果是通过msvc编译,a56爆大奖在线娱乐可能的情况是未设置 vs的环境变量: 在path中添加:(cl.exe所在路径) C:\Program Files (x86)\Microsoft Visual Studio\2019\Communi 阅读全文
posted @ 2020-09-08 11:28 hxqmw 阅读(3647) 评论(0) 推荐(0) 编辑
摘要: 【问题】 导入项目,发现很多错误: 无法打开源文件"stdio.h" 无法打开源文件"string.h" 无法打开源文件"float.h" 【解决】 右键项目->属性,选择正确的Windows SDK版本及平台工具集即可解决。 阅读全文
posted @ 2020-09-04 10:03 hxqmw 阅读(12384) 评论(0) 推荐(0) 编辑
摘要: error信息:qt.network.ssl: QSslSocket::connectToHostEncrypted: TLS initialization failed 解决方案: 1、获取ssl版本 结果显示如下: 说明不支持,依赖的版本是:1.1.1d 2、安装ssl 地址:https://s 阅读全文
posted @ 2020-09-03 20:06 hxqmw 阅读(2265) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 10 11 12 下一页