摘要:
message("Current QT_ARCH: $$QT_ARCH") 阅读全文
摘要:
Aabsolute -> absaddress -> addrapplication -> appargument -> argarguments -> argsarray -> arrassemble -> asmasynchronize -> asyncattribute -> attrattr 阅读全文
摘要:
//默认SSL开启certificate QSslConfiguration sslConf = QSslConfiguration::defaultConfiguration(); sslConf.setPeerVerifyMode(QSslSocket::VerifyNone); QSslCon 阅读全文
摘要:
//i要转化的十进制整数,width转化后的宽度,位数不足则补0 std::string dec2hex(int i, int width) { std::stringstream ioss; //定义字符串流 std::string s_temp; //存放转化后字符 ioss << std::h 阅读全文
摘要:
OpenCV 获取 OpenCV 从官网下载 openCV 。在本指南中,使用版本4.1.2。启动 opencv-3.2.0-vc14.exe 并让它解压到 d:\ 。现在文件夹 d:\opencv _4.1.2_Sources已创建。 将 minGW 添加到 windows PATH 变量 打开控 阅读全文
摘要:
QStringList strList; strList << "1" << "2" << "3" << "4";QString str = strList.join("-");qDebug()<<str; 输出:"1-2-3-4" 阅读全文
摘要:
添加元素:QByteArray byteArray("\xFe\xFe\x09\x00", 4); byteArray.append(1, (uchar)opt1); byteArray.append("\xA5", 1);初始化全为0: byteArray.append(10, char(0)); 阅读全文
摘要:
在pro工程文件添加下面一句话即可。 QMAKE_LFLAGS += /MANIFESTUAC:\"level=\'requireAdministrator\' uiAccess=\'false\'\" 注意uiAccess前面有个空格!!! 阅读全文
摘要:
egg框架实现的服务,部署在阿里云服务器上报出以下错误: 解决方案: config.js中 exports.cluster = { "listen": { "path": "", "hostname": "0.0.0.0",//配置IP 或阿里云内网地址(阿里云外网地址会报此错误) "port": 阅读全文
摘要:
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 阅读全文