- 博客(219)
- 问答 (4)
- 收藏
- 关注
原创 Qt,ASCII字符串转十六进制字符串,十六进字符串转ASCII字符串
【代码】Qt,ASCII字符串转十六进制字符串,字符串转ASCII字符串。
2023-10-17 11:39:41 458
原创 ffmpeg推送rtsp流或者视频文件到rtsp服务器
3.循环推送视频文件到rtsp服务器,指定tcp协议。2.推送r视频文件到rtsp服务器。1.推送rtsp视频流。
2023-08-21 13:35:18 901
原创 nginx缓存关闭
NGINX 缓存默认是不开启的,也就是说,NGINX 作为反向代理服务器时,会将所有的客户端请求直接打到服务端。如果想使用 NGINX 缓存,可以通过 proxy_cache_path 配置项进行设置。2.expires off 默认设置 nginx不缓存 不代表浏览器不缓存 浏览器还可以缓存 默认使用浏览器缓存机制。3.expires epoch 代表不设置缓存 不设置缓存 提醒浏览器 不设置缓存。1,对于图片,通常过期时间可以设置为一个月。2,对js/css,通常过期时间设置为1周。
2023-07-09 00:59:30 3478
原创 qt:无法启动进程“make“ -f //Makefile qmake_all
qt:无法启动进程"make" -f //Makefile qmake_all
2023-01-03 15:52:22 1127
原创 Mysql 错误1227 Access Denied; you need the PROCESS(SYSTEM_USER) privilege(s) 问题解决
Mysql 错误1227 Access Denied; you need the PROCESS(SYSTEM_USER) privilege(s) 问题解决
2022-12-13 14:46:35 3315
原创 ntpdate移植到ARM32平台
将ntpdate文件夹的ntdate拷贝开发部/usr/bin。执行sourec /etc/profile。加入crontab,每分钟执行一次。/etc/profile加入。
2022-09-07 01:55:00 436
原创 qt arm 交叉编译问题:ERROR: C++11 <random> is required and is missing or failed to compile
qt arm 交叉编译问题:ERROR: C++11 is required and is missing or failed to compile
2022-08-12 15:53:41 1241 1
原创 Qt使用默认浏览器打开网页
#include <QDesktopServices>#include <QUrl>QDesktopServices::openUrl(QUrl("http://www.baidu.com"));
2022-07-08 10:08:28 1061
原创 Qt使用cmd
QProcess p(0); p.start("cmd", QStringList()<<"/c"<<"ping www.baidu.com"); p.waitForStarted(); p.waitForFinished(); QString strTemp=QString::fromLocal8Bit(p.readAllStandardOutput()); qdebug()<<strTemp;
2022-05-07 14:19:34 250
原创 JavaScript每隔指定位数切割字符串
functionrandom(num){letbyte_length=num||32;letchars='';for(leti=0;i<26;i++){chars+=String.fromCharCode(65+i);}letlowerCase=chars.toLowerCase();letnumber='';for(leti=0;i<...
2022-04-27 14:56:59 1275
原创 Windows下MinGw编译QWT
下载用svn工具2、qt creator打开编译使用Qt Creator打开解压路径E:\qtpro\qwt-6.1.2下的qwt.pro,然后就是debug和release都编译一次,那么就会在E:\qtpro\qwt-6.1.2文件夹下产生两个文件夹build-designer-Desktop_Qt_5_5_1_MinGW_32bit-Debug和build-designer-Desktop_Qt_5_5_1_MinGW_32bit-Release。我们只需...
2022-04-27 09:58:31 437
原创 qwt3d : error: undefined reference to `__imp_glBlendFunc‘
因为在新版本中的qt已经没有一些gl的基本库了,使用的时候会报错:如“error: undefined reference to `_imp__glBindTexture@8'”解决办法很简单,只需要在.pro文件中添加以下两行即可:LIBS += -lopengl32\ -lGLU32...
2022-04-27 00:48:46 413
空空如也
ARM linux Thttpd CGI 配置之后,访问cgi返回源码?
2019-12-27
QT:把Qstring类型的"0x4f00"转成int 类型的0x4f00
2019-10-12
合并四个查询语句结果,合并后的形式如下图?
2017-10-10
TA创建的收藏夹 TA关注的收藏夹
TA关注的人