qml
秃头就能变强
这个作者很懒,什么都没留下...
展开
-
QML Image、AnimatedImage 加载 Gif动图
Image、AnimatedImage 加载 Gif动图,以及AnimatedImage加载Gif是否缓存会导致的问题。原创 2023-11-21 16:16:19 · 551 阅读 · 0 评论 -
Qml使用cpp文件的信号槽
SerialPort CurrrntThread = QThread(0xfcc9f0, name = “串口线程”) // serial.sendMsg(“TTTT”)运行的线程。SerialPort CurrrntThread = QThread(0x24ce850) // serial.say() 函数运行的线程。qml: button text: Cancle // 打开串口失败,取消OK按钮,默认Cancle按钮被点击打印。原创 2023-11-21 09:55:52 · 418 阅读 · 0 评论 -
qml: ReferenceError: serial is not defined
qml编译警告:qrc:/Form02.qml:67: ReferenceError: serial is not defined。解决办法:先设置串口对象在根节点中的。原创 2023-09-11 17:21:29 · 622 阅读 · 0 评论