摘要:
cJSON *cjsonArr = cJSON_GetObjectItem(cjosnDate, "params"); // cjosnDate为上述的cjson数据 cJSON *cjsonTmp = cJSON_GetArrayItem(cjsonArr, 0); int num = cjson 阅读全文
posted @ 2021-07-21 18:19
远方是什么样子
阅读(976)
评论(0)
推荐(0)
该文被密码保护。 阅读全文
posted @ 2021-07-21 17:16
远方是什么样子
阅读(0)
评论(0)
推荐(0)
摘要:
vs打开json文件,文件-高级保存选项-选择(UTF-8带标签)。 阅读全文
posted @ 2021-07-21 11:32
远方是什么样子
阅读(966)
评论(0)
推荐(0)
摘要:
QWidget的子类窗口如要正常显示背景色,需要 setAttribute(Qt::WA_StyledBackground); 目的是脱离父窗口的样式。 参考:https://blog.csdn.net/qiangzi4646/article/details/89033046 阅读全文
posted @ 2021-07-21 10:49
远方是什么样子
阅读(472)
评论(0)
推荐(0)
摘要:
https://www.doc88.com/p-3022866849260.html?r=1 阅读全文
posted @ 2021-07-21 10:07
远方是什么样子
阅读(115)
评论(0)
推荐(0)
摘要:
需要添加键盘事件构造函数: virtual CefRefPtr<CefKeyboardHandler> GetKeyboardHandler() OVERRIDE{ return this; } 参考:https://www.cnblogs.com/chechen/p/10100853.html 阅读全文
posted @ 2021-07-21 09:40
远方是什么样子
阅读(333)
评论(0)
推荐(0)
摘要:
头文件声明: #pragma execution_character_set("utf-8") 因为改了exe文件名,所以一直没设置成功 1.属性-常规-目标文件名 2.属性-链接器-常规-输出文件 遇到的问题:设置了后不生效 原因:因为写成了#pragma execution_character_ 阅读全文
posted @ 2021-07-21 09:31
远方是什么样子
阅读(33)
评论(0)
推荐(0)
摘要:
原代码: bool QCefView::createCefBrowser() { RECT rect = { 0 }; CefWindowInfo windowInfo; CefBrowserSettings browserSettings; windowInfo.SetAsChild(reinte 阅读全文
posted @ 2021-07-20 17:47
远方是什么样子
阅读(676)
评论(0)
推荐(0)
摘要:
错误代码: //main.cpp int main() { ... QCefBrowser w; w.show(); CefRunMessageLoop(); CefShutdown(); ... } 修改为: //main.cpp int main() { ... QCefBrowser *w = 阅读全文
posted @ 2021-07-20 17:40
远方是什么样子
阅读(506)
评论(0)
推荐(0)
摘要:
1. join #include <iostream> #include <thread> using namespace std; void fun() //子线程 { for (int i = 0; i < 100; i++) cout << "*"; } void main() { threa 阅读全文
posted @ 2021-07-12 20:18
远方是什么样子
阅读(64)
评论(0)
推荐(0)
浙公网安备 33010602011771号