2023年11月20日
摘要: 直接在终端执行:vmhgfs-fuse .host:/ /mnt/hgfs 阅读全文
posted @ 2023-11-20 11:24 码农er 阅读(14) 评论(0) 推荐(0) 编辑
  2021年7月19日
摘要: 关于QMediaPlayer 使用时可以在主线程使用,但是在子线程使用或者在单例中并且把此单例类moveToThread到一个线程中 ,初始化要注意。 其他线程通过信号通知播放类的时候要注意。 关于QTextToSpeech 把文字转换成语音的时候,可以在主线程使用,可以在子线程使用,但是当在单例类 阅读全文
posted @ 2021-07-19 09:17 码农er 阅读(543) 评论(0) 推荐(0) 编辑
  2021年3月4日
摘要: QScriptEngine m_scriptEngine; setObjectName("cscripi"); QScriptValue objValue = m_scriptEngine.newQObject(this); m_criptEngine.globalObject().setPrope 阅读全文
posted @ 2021-03-04 11:05 码农er 阅读(235) 评论(0) 推荐(0) 编辑
摘要: https://www.pianshen.com/article/1869127479/ 阅读全文
posted @ 2021-03-04 10:04 码农er 阅读(62) 评论(0) 推荐(0) 编辑
  2021年2月25日
摘要: 转载:https://blog.csdn.net/brimsullowr/article/details/82770444 中文文档:https://blog.csdn.net/karlin999/article/details/79571357 ZeroMQ:23 模式之(独家对模式:ZMQ_PA 阅读全文
posted @ 2021-02-25 15:43 码农er 阅读(72) 评论(0) 推荐(0) 编辑
摘要: 依次编译zeromq 和czmp: ./autogen.sh ./configure --enable-static=no --enable-drafts=no LDFLAGS="-Wl,-z,origin -Wl,-rpath,'\$\$ORIGIN' $LDFLAGS" make sudo ma 阅读全文
posted @ 2021-02-25 14:07 码农er 阅读(201) 评论(0) 推荐(0) 编辑
  2021年2月24日
摘要: https://blog.csdn.net/wang03989/article/details/42705791 阅读全文
posted @ 2021-02-24 21:03 码农er 阅读(30) 评论(0) 推荐(0) 编辑
摘要: #include "stdafx.h" #include <boost/thread/thread.hpp>#include <boost/thread/mutex.hpp>#include <boost/thread/condition.hpp>#include <boost/date_time/ 阅读全文
posted @ 2021-02-24 14:44 码农er 阅读(585) 评论(0) 推荐(0) 编辑
摘要: std::string getCurModuleDir() { enum {BUF_LEN =1024}; char pcDirection[BUF_LEN]; memset(pcDirection,0,sizeof(pcDirection)); #if defined(WIN32) GetModu 阅读全文
posted @ 2021-02-24 09:23 码农er 阅读(54) 评论(0) 推荐(0) 编辑
  2021年2月23日
摘要: #include <time.h> #include<sys/timeb.h> #ifdef WIN32 #include<Windows.h> #else #include<stdint.h> #include<sys/time.h> #endif #include"boost/chrono.hp 阅读全文
posted @ 2021-02-23 17:47 码农er 阅读(95) 评论(0) 推荐(0) 编辑