08 2022 档案

摘要:Slider{ id:sliderbar x:296 y:172 width: 530 height: 40 from: 0 to:1000 value: 500 stepSize: 1 onMoved:{ console.log("pos1 is %d",sliderbar.visualPosit 阅读全文
posted @ 2022-08-22 21:15 ccc_zdh 阅读(191) 评论(0) 推荐(0)
摘要:ProgressBar{ id:progressbar x:296 y:172 width: 530 height: 40 minimumValue: 0 maximumValue:1000 value: 500 style:ProgressBarStyle{ id:progressStyle ba 阅读全文
posted @ 2022-08-22 17:32 ccc_zdh 阅读(340) 评论(0) 推荐(0)
摘要:fatload mmc 0:1 80800000 zImage reading zImage4164040 bytes read in 228 ms (17.4 MiB/s) 读文件 读取mmc0 第一个分区的在Image文件到0x80800000 fatwrite mmc 1:1 80800000 阅读全文
posted @ 2022-08-17 16:50 ccc_zdh 阅读(556) 评论(0) 推荐(0)
摘要:1. please wait booting /etc/init.d/banner.sh 删除或者改名 2 开机动画 /etc/init.d/psplash.sh 删除或者改名 3. 登录相关的字符 /etc/inittab 中的 注释掉 阅读全文
posted @ 2022-08-17 10:30 ccc_zdh 阅读(367) 评论(0) 推荐(0)
摘要:widget->setSource(QUrl::fromLocalFile(":/qml/ParaNmes.qml")); 这种方式加载有问题,放资源文件中无法加载组件,qml文件和可执行文件分离则可以正常加载widget->setSource(QUrl("qrc:/qml/ParaNmes.qml 阅读全文
posted @ 2022-08-13 17:35 ccc_zdh 阅读(101) 评论(0) 推荐(0)
摘要:1.下载源码 地址:https://buildroot.org/ 随便选一个,下载后解决解压 2.配置 Target options -> Target Architecture = ARM (little endian) -> Target Binary Format = ELF -> Targe 阅读全文
posted @ 2022-08-13 13:39 ccc_zdh 阅读(164) 评论(0) 推荐(0)
摘要:OBJECTS_DIR += objMOC_DIR += moc#DESTDIR += binCONFIG+=debug_and_releaseCONFIG(debug, debug|release){ TARGET = out_debug} else { TARGET = out_release} 阅读全文
posted @ 2022-08-12 16:45 ccc_zdh 阅读(357) 评论(0) 推荐(0)
摘要:#define MSG_COM_TX_NUM 16 typedef struct { uint16_t cmd; uint16_t len; uint8_t buff[32]; }com_msg_t; osMessageQueueId_t msg_com_tx; osSemaphoreId_t se 阅读全文
posted @ 2022-08-11 17:34 ccc_zdh 阅读(171) 评论(0) 推荐(0)
摘要:当使用movetothread时,注意对象的构造函数,因为对象的实例化是在A线程构造的,使用movetothread后,是在B线程调用,所以容易出现该问题。可以尝试在对象构造函数中初始化一些非new的变量,采用一次性定时器触发实际的初始化 阅读全文
posted @ 2022-08-11 13:42 ccc_zdh 阅读(361) 评论(0) 推荐(0)
摘要:网上查了是交换内存不足的问题,都是说的添加交换内存,但是如果开了多线程编译的话,可以尝试减少编译线程数,也可以得到解决。 阅读全文
posted @ 2022-08-05 11:11 ccc_zdh 阅读(267) 评论(0) 推荐(0)