//宽字符转多字节 std::string W2A(const std::wstring& utf8) { int buffSize = WideCharToMultiByte(CP_ACP, NULL, utf8.c_str(), -1, NULL, NULL, NULL, FALSE); cha Read More
posted @ 2019-04-11 21:17 findumars Views(410) Comments(0) Diggs(0) Edit
//简单的 c++11 线程,简单方便,成员函数随便调用,非成员函数也一样,如需要获取返回时,请自行使用条件变量 std::thread run([&](){ //执行一些耗时的操作 return 0; }); run.detach(); auto run=std::async([&](){ ret Read More
posted @ 2019-04-11 21:14 findumars Views(5440) Comments(0) Diggs(1) Edit
connect(camera, static_cast<void(QCamera::*)(QCamera::LockStatus, QCamera::LockChangeReason)>(&QCamera::lockStatusChanged), [=](QCamera::LockStatus st Read More
posted @ 2019-04-11 21:12 findumars Views(662) Comments(0) Diggs(0) Edit
开发环境:1.win7 64位2.qt版本 windows-x86-msvc2015-5.9.0 如何解决?1.设置qt文件编码设置 默认UTF-8 如果编码是 UTF-8 则添加.2.使用 QTextCodec 即可 Read More
posted @ 2019-04-11 21:05 findumars Views(301) Comments(0) Diggs(0) Edit
qt 多媒体模块介绍 类名英文描述中文描述 QAudioBuffer Represents a collection of audio samples with a specific format and sample rate 表示具有特定格式和采样率的音频样本的集合 QAudioBuffer:: Read More
posted @ 2019-04-11 21:04 findumars Views(1098) Comments(0) Diggs(0) Edit
1.网络模块介绍 类名说明中文 QAbstractNetworkCache The interface for cache implementations 缓存实现的接口 QNetworkCacheMetaData Cache information 缓存信息 QHstsPolicy Specifi Read More
posted @ 2019-04-11 21:03 findumars Views(1216) Comments(0) Diggs(0) Edit
版权声明:如需转载,请告知博主并声明出处 https://blog.csdn.net/CLinuxF/article/details/88816436文章目录前言在线安装离线安装(推荐)前言很多朋友喜欢用VS来进行Qt开发,刚好最近我也有这个需求(需要在VS上面调试,QtCreator调试我就不吐槽 Read More
posted @ 2019-04-11 20:12 findumars Views(7157) Comments(0) Diggs(0) Edit