上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 77 下一页

2022年8月11日

Qt-如何生成GUID

摘要: 相关资料: https://blog.csdn.net/hellokandy/article/details/119753115 在Windows环境下,生成GUID的代码基本是下面这样的: 1 const char* MakeGuid() 2 { 3 CoInitialize(NULL); 4 s 阅读全文

posted @ 2022-08-11 14:12 疯狂delphi 阅读(261) 评论(0) 推荐(0)

2022年7月26日

Qt-Qt5截取并保存.png,.bmp等格式图片

摘要: 相关资料: https://www.csdn.net/tags/NtjaMg5sNDQ5MDgtYmxvZwO0O0OO0O0O.html 代码实例: .pro 1 QT += core gui 2 3 greaterThan(QT_MAJOR_VERSION, 4): QT += widgets 阅读全文

posted @ 2022-07-26 13:30 疯狂delphi 阅读(212) 评论(0) 推荐(0)

2022年7月19日

用VS2019打开工程后,编译提示"error:there‘s no Qt version assigned to XXXXX"

摘要: 问题情况: 今天有个同事离职了,把手里的工程都交接给我了。 我打代码从Git下载后,用VS2019打开工程,提示“error:there‘s no Qt version assigned to project please assign a Qt installation in qt project 阅读全文

posted @ 2022-07-19 10:35 疯狂delphi 阅读(1695) 评论(0) 推荐(0)

2022年7月15日

Osg-Osg实现雾效果(Qt5.14.2+osgE3.6.5+win10)-No23-OsgFog

摘要: .pro 1 QT += core gui widgets 2 TARGET = TestOsgQt 3 TEMPLATE = app 4 DEFINES += QT_DEPRECATED_WARNINGS 5 CONFIG += c++11 6 7 QMAKE_CXXFLAGS_RELEASE = 阅读全文

posted @ 2022-07-15 15:54 疯狂delphi 阅读(135) 评论(0) 推荐(0)

2022年7月14日

Osg-Osg几何绘制(Qt5.14.2+osgE3.6.5+win10)-No22-GeodeAndGeometry

摘要: .pro 1 QT += core gui widgets 2 TARGET = TestOsgQt 3 TEMPLATE = app 4 DEFINES += QT_DEPRECATED_WARNINGS 5 CONFIG += c++11 6 7 QMAKE_CXXFLAGS_RELEASE = 阅读全文

posted @ 2022-07-14 14:09 疯狂delphi 阅读(100) 评论(0) 推荐(0)

2022年7月13日

Osg-OsgShader着色器(Qt5.14.2+osgE3.6.5+win10)-No21-OsgShader

摘要: 实例代码: osgwidgetshader-vert.glsl 1 // osgWidget/GLSL - Copyright (C) 2007 Jeremy Moles 2 // $Id: osgwidgetshader-vert.glsl 28 2008-03-26 15:26:48Z cubi 阅读全文

posted @ 2022-07-13 16:41 疯狂delphi 阅读(113) 评论(0) 推荐(0)

Osg-OsgShader着色器(Qt5.14.2+osgE3.6.5+win10)-No20-OsgShader

摘要: 相关资料: https://www.freesion.com/article/1874284521/ 原文 实例代码: .pro 1 QT += core gui widgets 2 TARGET = TestOsgQt 3 TEMPLATE = app 4 DEFINES += QT_DEPREC 阅读全文

posted @ 2022-07-13 13:51 疯狂delphi 阅读(84) 评论(0) 推荐(0)

Osg-OsgShader着色器(Qt5.14.2+osgE3.6.5+win10)-No19-OsgShader

摘要: .pro 1 QT += core gui widgets 2 TARGET = TestOsgQt 3 TEMPLATE = app 4 DEFINES += QT_DEPRECATED_WARNINGS 5 CONFIG += c++11 6 7 QMAKE_CXXFLAGS_RELEASE = 阅读全文

posted @ 2022-07-13 13:17 疯狂delphi 阅读(138) 评论(0) 推荐(0)

Osg-OsgShader着色器(Qt5.14.2+osgE3.6.5+win10)-No18-OsgShader

摘要: 无着色器 有着色器 相关资料: https://blog.51cto.com/u_15127583/4054561 原文 实例代码: .pro 1 QT += core gui widgets 2 TARGET = TestOsgQt 3 TEMPLATE = app 4 DEFINES += QT 阅读全文

posted @ 2022-07-13 11:33 疯狂delphi 阅读(67) 评论(0) 推荐(0)

Osg-OsgShader着色器(Qt5.14.2+osgE3.6.5+win10)-No17-OsgShader

摘要: 无着色器 有着色器 相关资料: http://t.zoukankan.com/airduce-p-10032442.html 原文 实例代码: myFrag.frag 1 uniform sampler2D texUnit0; 2 3 void main(){ 4 //texUnit0由外面调用程序 阅读全文

posted @ 2022-07-13 11:10 疯狂delphi 阅读(78) 评论(0) 推荐(0)

上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 77 下一页

导航