会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
nanqiang
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
9
10
11
12
13
14
15
16
17
···
29
下一页
2019年2月13日
qmake: qmake: could not exec '/usr/lib/i386-linux-gnu/qt4/bin/qmake': No such file or dire
摘要: https://blog.csdn.net/wanghelou123/article/details/66472551
阅读全文
posted @ 2019-02-13 16:03 cicero
阅读(339)
评论(0)
推荐(0)
2019年2月12日
C++:如何正确的定义一个接口类
摘要: C++中如何定义接口类?首先给接口类下了定义:接口类应该是只提供方法声明,而自身不提供方法定义的抽象类。接口类自身不能实例化,接口类的方法定义/实现只能由接口类的子类来完成。 而对于C++,其接口类一般具有以下特征: 1.最好不要有成员变量,但可以有静态常量(static const或enum)2.
阅读全文
posted @ 2019-02-12 18:08 cicero
阅读(2772)
评论(0)
推荐(0)
2019年1月10日
OpenGL API 之 glTexImage2D
摘要: 原文 https://blog.csdn.net/csxiaoshui/article/details/27543615
阅读全文
posted @ 2019-01-10 09:46 cicero
阅读(1300)
评论(0)
推荐(0)
2019年1月8日
OpenGL 使用 PBO 高速复制屏幕图像到内存或者纹理中
摘要: https://www.cnblogs.com/crsky/p/7870835.html
阅读全文
posted @ 2019-01-08 19:25 cicero
阅读(694)
评论(0)
推荐(0)
2019年1月5日
Qt 使用openGL 渲染YUV420P格式的视频
摘要: 代码如下 最后写一个窗口类继承 QOpenGLWidget
阅读全文
posted @ 2019-01-05 16:02 cicero
阅读(6822)
评论(0)
推荐(0)
Qt 使用openGL 渲染NV12格式的视频
摘要: 直接上代码
阅读全文
posted @ 2019-01-05 15:58 cicero
阅读(4760)
评论(0)
推荐(0)
2019年1月3日
qt 在窗口上画框
摘要: 在窗口w上面画个黄色的框:在窗口上添加一个label,然后在label上画框
阅读全文
posted @ 2019-01-03 19:02 cicero
阅读(2280)
评论(0)
推荐(0)
qss 的使用
摘要: //设置样式表 QStringList qss; qss.append("QFrame{border:0px solid #00BB9E;}"); // qss.append("QLabel{font:75 25px;color:#F0F0F0;border:1px solid #AAAAAA;background:#000000;}"); // qss.app...
阅读全文
posted @ 2019-01-03 09:08 cicero
阅读(280)
评论(0)
推荐(0)
2019年1月1日
GLSL 变量属性
摘要: 1. attribute变量为这个attribute变量指定一个位置(用无符号值表示):glBindAttribLocation利用这个“位置”来指定需要传给shader里的attribue变量的数据:glVertexAttribPointer 2.uniform变量 Uniform是一种从CPU中
阅读全文
posted @ 2019-01-01 16:08 cicero
阅读(871)
评论(0)
推荐(0)
2018年12月25日
ftell 的使用
摘要: ftell一般用于读取文件的长度,下面补充一个例子,读取文本文件中的内容:
阅读全文
posted @ 2018-12-25 13:45 cicero
阅读(451)
评论(0)
推荐(0)
上一页
1
···
9
10
11
12
13
14
15
16
17
···
29
下一页
公告