上一页 1 ··· 17 18 19 20 21 22 23 24 25 ··· 40 下一页
摘要: static osg::Timer* sendMsgTimer = new osg::Timer; if (sendMsgTimer->time_m()>100)//100ms {// do what you want sendMsgTimer->setStartTick();//重置 } osg: 阅读全文
posted @ 2016-12-22 13:02 酷熊 阅读(1369) 评论(0) 推荐(0) 编辑
摘要: // add the state manipulator viewer.addEventHandler( new osgGA::StateSetManipulator(viewer.getCamera()->getOrCreateStateSet()) ); // add the thread mo 阅读全文
posted @ 2016-12-03 17:19 酷熊 阅读(1826) 评论(0) 推荐(0) 编辑
摘要: 以下内容摘自:http://blog.csdn.net/kaphen/article/details/24721999 头文件只有#include <gl\gl.h> //OpenGL Header #include <gl\glu.h> //GLu32 Header 时候出现以下错误 1>c:\p 阅读全文
posted @ 2016-11-19 23:24 酷熊 阅读(1836) 评论(0) 推荐(0) 编辑
摘要: 在编译plugins osgearth_gdal的ReaderWriterGDAL.cpp的时候可能会遇到这个问题 gdal_vrt.h这个头文件在gdal-1.11.0\frmts\vrt目录下,从网上下载对应的GDAL源码即可找到 阅读全文
posted @ 2016-10-13 16:32 酷熊 阅读(493) 评论(0) 推荐(0) 编辑
摘要: 1>LINK : fatal error LNK1181: 无法打开输入文件“optimized.lib” 可以到http://forum.osgearth.org搜索相关帖子,gwaldron说这很可能是CMake3.0以上版本的问题: gwaldron Reply | Threaded | Mo 阅读全文
posted @ 2016-10-13 15:19 酷熊 阅读(3369) 评论(1) 推荐(1) 编辑
摘要: QLabel* label = new QLabel(ui->centralWidget); 阅读全文
posted @ 2016-09-24 17:02 酷熊 阅读(9612) 评论(0) 推荐(0) 编辑
摘要: 部署qt程序时,经常涉及到Qt5.5.0\5.5\msvc2013\plugins目录下的一些动态链接库 例如数据库sqldrivers,操作系统类型platforms,读取各种图片imageformats 需要将这些文件夹和exe拷贝在同一个目录 阅读全文
posted @ 2016-09-23 12:39 酷熊 阅读(475) 评论(0) 推荐(0) 编辑
摘要: 已有my.openssh私钥文件,以及Key passphrase:4c264a73544ee7f3bc6ba6f8a416b6efec9d7cc6e71b745c479159cc7ee0a8cb 若果安装了TortoiseGit,你能很快找到puttygen,运行之 点击Conversions菜单 阅读全文
posted @ 2016-08-30 16:12 酷熊 阅读(1518) 评论(0) 推荐(0) 编辑
摘要: #include <string>std::string ws2s(const std::wstring& ws){ std::string curLocale = setlocale(LC_ALL, NULL); // curLocale = "C"; setlocale(LC_ALL, "chs 阅读全文
posted @ 2016-07-27 18:37 酷熊 阅读(376) 评论(0) 推荐(0) 编辑
摘要: m_tableWidget->setFocusPolicy(Qt::NoFocus); //去除选中虚线框 阅读全文
posted @ 2016-07-01 11:19 酷熊 阅读(2778) 评论(0) 推荐(0) 编辑
上一页 1 ··· 17 18 19 20 21 22 23 24 25 ··· 40 下一页