![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
osgearth
仰头看星星
这个作者很懒,什么都没留下…
展开
-
osg 嵌入 qt 关闭qt界面报指针错误
线程 0x89bc 已退出,返回值为 1 (0x1)。引发了异常: 读取访问权限冲突。代码如下:#include <QtWidgets/QApplication>#include "common.h"#include "TSTQTOse0307.h"int main(int argc, char** argv){ QApplication app(argc, argv); //TSTQTOse0307 *w = new TSTQTOse0307() ;原创 2022-03-11 20:46:46 · 396 阅读 · 0 评论 -
osgearth3.2 嵌入qt,需要osgEarth::initialize()
#include "TSTQTOse0307.h"#include <QtWidgets/QApplication>#include "common.h"#include "MyViewerWidget.h"int main(int argc, char** argv){ QApplication app(argc, argv); string filename = "simple.earth"; if (argc > 1) filename = argv.原创 2022-03-10 11:31:06 · 852 阅读 · 0 评论 -
osgearth嵌入qt ,使用osgQt::GraphicsWindowQt
osgearth嵌入qt,osgearth3.2 qt5 osg3.65原创 2022-03-10 11:29:23 · 1459 阅读 · 0 评论