该文被密码保护。 阅读全文
posted @ 2021-05-06 16:26 远方是什么样子 阅读(1329) 评论(0) 推荐(0) 编辑
摘要: 可以使用curl_escape方法解决,官方文档: http://curl.haxx.se/libcurl/c/curl_escape.html char* escape_control = curl_escape(describe.c_str(), describe.size()); //std: 阅读全文
posted @ 2021-05-06 15:03 远方是什么样子 阅读(879) 评论(0) 推荐(0) 编辑
摘要: https://fontmeme.com/ziti/poppins-font/ 阅读全文
posted @ 2021-04-30 10:04 远方是什么样子 阅读(37) 评论(0) 推荐(0) 编辑
摘要: 1 windows中获取执行文件exe的版本号 QString GetFileVertion(QString aFullName) { QString vRetVersion; string vFullName = QStringToString(aFullName); char vVersion[ 阅读全文
posted @ 2021-04-29 15:51 远方是什么样子 阅读(293) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2021-04-29 15:46 远方是什么样子 阅读(384) 评论(0) 推荐(1) 编辑
摘要: QProcess* process = new QProcess(this); process->start("E:/bin/Release/temp/test.exe"); //无法启动 QString path = "E:/bin/Release/temp/test.exe"; process- 阅读全文
posted @ 2021-04-28 17:25 远方是什么样子 阅读(2769) 评论(0) 推荐(0) 编辑
摘要: 程序退出时还有线程在运行 阅读全文
posted @ 2021-04-28 12:26 远方是什么样子 阅读(1936) 评论(0) 推荐(0) 编辑
摘要: m_pContentLabel->setWordWrap(true); //设置QLabel文本自动换行 阅读全文
posted @ 2021-04-27 12:19 远方是什么样子 阅读(204) 评论(0) 推荐(0) 编辑
摘要: 传参方式:1. ::ShellExecuteA(NULL, "open", strPath.c_str(), strCmd.c_str(), NULL, SW_SHOW);2. QProcess::startDetached(strPath, QStringList(strCmd));接收方式:// 阅读全文
posted @ 2021-04-23 15:13 远方是什么样子 阅读(1000) 评论(0) 推荐(0) 编辑
摘要: QFile file(path); bool ok = file.open(QIODevice::ReadOnly); if (ok){ int off = 10; file.seek(file.size() - off); //将当前读取文件指针移动到指定位置 QString str = QStr 阅读全文
posted @ 2021-04-22 15:52 远方是什么样子 阅读(410) 评论(0) 推荐(0) 编辑