摘要:
在使用 WA_TranslucentBackground 做蒙板时 出现 渲染不会自动清除出现堆叠现象。 博客园中找到一个解释: Qt WA_TranslucentBackground 导致视频渲染不了的问题_不甘平凡的小鸟的博客-CSDN博客 个人做的处理,就是暂时不用 WA_Translucen 阅读全文
摘要:
当前窗口及子控件均不响应鼠标事件 setAttribute(Qt::WA_TransparentForMouseEvents, true); 当前窗口透明区域不响应鼠标事件 setWindowFlags(Qt::FramelessWindowHint | Qt::Tool); setAttribut 阅读全文
摘要:
多线程中: 使用 DirectConnection 被调用函数 与调用函数处于同一线程中 用 blocking Connection 有时候会造成 死锁 用 queueConnection 无法控制函数执行顺序 目前解决方法: 1、 queueConnection 和 qeventLoop 配合使用 阅读全文
摘要:
QString getTimeFromSec(int sec) { if(sec<0) return "0:0:0"; int second = sec%60; int min = (sec/60)%60; int hour = sec/3600; QString str = QString("%1 阅读全文
摘要:
union IEEE_Packet { float f; quint8 buf[4]; }; IEEE_Packet packet;packet.buf = ""; packet.f;将 编码赋值给 buf ,其中 f 即为想要得到的 值 阅读全文
摘要:
meshlab 下载链接 https://github.com/cnr-isti-vclab/meshlab vcglib 下载链接 https://github.com/cnr-isti-vclab/vcglib/tree/devel 参照该博主的配置 https://blog.csdn.net/ 阅读全文
摘要:
百度百科:视点转换函数原型void gluLookAt(GLdouble eyex,GLdouble eyey,GLdouble eyez,GLdouble centerx,GLdouble centery,GLdouble centerz,GLdouble upx,GLdouble upy,GLd 阅读全文
摘要:
在Qt 5.12.3配置meshlab 时 遇到 链接失败 qmlcache_loader.obj:-1: error: LNK2019: 无法解析的外部符号 "__declspec(dllimport) int __cdecl QQmlPrivate::qmlregister..... "publ 阅读全文