摘要: message("Current QT_ARCH: $$QT_ARCH") 阅读全文
posted @ 2024-03-11 09:52 zhxzh 阅读(2) 评论(0) 推荐(0) 编辑
摘要: Aabsolute -> absaddress -> addrapplication -> appargument -> argarguments -> argsarray -> arrassemble -> asmasynchronize -> asyncattribute -> attrattr 阅读全文
posted @ 2022-05-05 14:02 zhxzh 阅读(187) 评论(0) 推荐(0) 编辑
摘要: //默认SSL开启certificate QSslConfiguration sslConf = QSslConfiguration::defaultConfiguration(); sslConf.setPeerVerifyMode(QSslSocket::VerifyNone); QSslCon 阅读全文
posted @ 2022-01-07 10:04 zhxzh 阅读(195) 评论(0) 推荐(0) 编辑
摘要: //i要转化的十进制整数,width转化后的宽度,位数不足则补0 std::string dec2hex(int i, int width) { std::stringstream ioss; //定义字符串流 std::string s_temp; //存放转化后字符 ioss << std::h 阅读全文
posted @ 2021-12-21 10:43 zhxzh 阅读(2324) 评论(0) 推荐(0) 编辑
摘要: OpenCV 获取 OpenCV 从官网下载 openCV 。在本指南中,使用版本4.1.2。启动 opencv-3.2.0-vc14.exe 并让它解压到 d:\ 。现在文件夹 d:\opencv _4.1.2_Sources已创建。 将 minGW 添加到 windows PATH 变量 打开控 阅读全文
posted @ 2021-07-05 13:56 zhxzh 阅读(160) 评论(1) 推荐(1) 编辑
摘要: QStringList strList; strList << "1" << "2" << "3" << "4";QString str = strList.join("-");qDebug()<<str; 输出:"1-2-3-4" 阅读全文
posted @ 2021-05-24 14:55 zhxzh 阅读(419) 评论(0) 推荐(0) 编辑
摘要: 添加元素:QByteArray byteArray("\xFe\xFe\x09\x00", 4); byteArray.append(1, (uchar)opt1); byteArray.append("\xA5", 1);初始化全为0: byteArray.append(10, char(0)); 阅读全文
posted @ 2021-05-17 16:41 zhxzh 阅读(3417) 评论(0) 推荐(0) 编辑
摘要: 在pro工程文件添加下面一句话即可。 QMAKE_LFLAGS += /MANIFESTUAC:\"level=\'requireAdministrator\' uiAccess=\'false\'\" 注意uiAccess前面有个空格!!! 阅读全文
posted @ 2021-04-27 18:35 zhxzh 阅读(314) 评论(0) 推荐(0) 编辑
摘要: egg框架实现的服务,部署在阿里云服务器上报出以下错误: 解决方案: config.js中 exports.cluster = { "listen": { "path": "", "hostname": "0.0.0.0",//配置IP 或阿里云内网地址(阿里云外网地址会报此错误) "port": 阅读全文
posted @ 2019-06-10 14:56 zhxzh 阅读(1465) 评论(0) 推荐(0) 编辑
摘要: It is in fact possible to listen to the “expired” type keyevent notification using a subscribed client to the specific channel and listening to its me 阅读全文
posted @ 2018-09-30 17:21 zhxzh 阅读(1089) 评论(0) 推荐(0) 编辑