- 博客(5)
- 收藏
- 关注
转载 TCHARToString
std::string CAlarmWin::TCHARToString( TCHAR* tszBuf ) { int nLen = WideCharToMultiByte(CP_ACP, 0,tszBuf, -1, NULL, 0, NULL, NULL); char* szRtn = new char[nLen*sizeof(char)]; WideCharToMu...
2019-09-02 19:48:00
108
转载 ubuntu安装总是提示"正在探测文件系统"
解决方法: 重启电脑,重新安装ubuntu之前 用“Ctrl+Alt+T"调出终端, 然后运行 “sudo umount -l /isodevice” 然后再安装系统就可以正常安装了。 转载于:https://www.cnblogs.com/Werial/p/10813288.html...
2019-05-05 15:27:00
1492
转载 error: cannot find -lGL
这是由于 Qt5.0 以上的版本默认将OpenGL加入了工程,但是在机器上没有安装OpenGL,所以只需要在机器系统安装OpenGL即可 sudo apt-get install libgl1-mesa-dev 转载于:https://www.cnblogs.com/Werial/p/10735326.html...
2019-04-19 13:10:00
239
转载 QTimer使用方法
1、包含头文件 #include<QTimer> 2、 QTimer *timer = new QTimer(this); //this 指定父对象,可自动回收 connect(timer, SIGNAL(timeout()), this, SLOT(update())); timer->start(1000); startTimer(...
2019-04-19 09:15:00
623
转载 error C2011: 'LockTypeEnum' : 'enum' type redefinition
这样的错误,在VS里加入宏:_AFX_NO_DAO_SUPPORT 可解决; 转载于:https://www.cnblogs.com/Werial/p/10682116.html
2019-04-10 11:00:00
290
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人