上一页 1 ··· 21 22 23 24 25 26 27 28 29 ··· 76 下一页

2020年7月16日

QT-Qt设置背景图片

摘要: 一、paintEvent法(平时没事,用在OSG中就不行了,因为TMD会一直调paintEvent事件,刷新到卡爆) main.cpp 1 #include "mainwindow.h" 2 3 #include <QApplication> 4 5 int main(int argc, char 阅读全文

posted @ 2020-07-16 14:21 疯狂delphi 阅读(784) 评论(0) 推荐(0)

2020年7月15日

QT-Qt图片按钮类

摘要: main.cpp 1 #include "mainwindow.h" 2 3 #include <QApplication> 4 5 int main(int argc, char *argv[]) 6 { 7 QApplication a(argc, argv); 8 MainWindow w; 阅读全文

posted @ 2020-07-15 18:02 疯狂delphi 阅读(405) 评论(0) 推荐(0)

QT-Qt界面居中显示

摘要: main.cpp 1 #include "mainwindow.h" 2 3 #include <QApplication> 4 5 int main(int argc, char *argv[]) 6 { 7 QApplication a(argc, argv); 8 MainWindow w; 阅读全文

posted @ 2020-07-15 09:44 疯狂delphi 阅读(619) 评论(0) 推荐(0)

2020年7月13日

delphi创建和读取xml(xml简单操作举例)

摘要: https://www.cnblogs.com/cnajian/archive/2011/10/27/2226262.html 有关许多接口,会需要通过xml进行数据交换,弄个例子,方便参考 unit Unit1; interface uses Windows, Messages, SysUtils 阅读全文

posted @ 2020-07-13 21:19 疯狂delphi 阅读(1453) 评论(0) 推荐(0)

QT-QT使用libQGLViewer及lib3ds

摘要: QT使用libQGLViewer及lib3dslibQGLViewer官方下载:http://libqglviewer.com/●打开官方网址,点“Download”。●勾选“I agree with the terms of the GNU GPL license and I understand 阅读全文

posted @ 2020-07-13 11:52 疯狂delphi 阅读(1115) 评论(0) 推荐(0)

2020年7月10日

BAT-锁屏,双击后需要输入系统密码才行

摘要: rundll32 user32.dll,LockWorkStation 阅读全文

posted @ 2020-07-10 14:58 疯狂delphi 阅读(272) 评论(0) 推荐(0)

2020年7月1日

QT-osgQOpenGL.lib: error LNK2038: 检测到“RuntimeLibrary”的不匹配项: 值“MTd_StaticDebug”不匹配值“MDd_DynamicDebug”(osgQOpenGLWidget.obj 中)

摘要: 相关资料:VS设置方法:https://blog.csdn.net/liukang325/article/details/78584625QT设置方法:https://www.zhihu.com/question/52165737 问题情况:自己生成了一个OSG的osgQOpenGL.lib库文件, 阅读全文

posted @ 2020-07-01 11:56 疯狂delphi 阅读(1132) 评论(0) 推荐(0)

OSG-提示“error reading file e:\1.jpg file not handled”

摘要: 问题情况:在做OsgEarth时需要自己编译osgQOpenGL,自己做了一个静态库工程,输出lib文件后,让EXE调用。在测试代码中指定一个地球文件,运行后,界面显示的是一个黑边白圆。打开GONFIG += console后,提示“error reading file e:\1.jpg file 阅读全文

posted @ 2020-07-01 09:21 疯狂delphi 阅读(2878) 评论(1) 推荐(1)

OSG-加载地球文件报0x00000005错误,提示error reading file simple.earth file not handled

摘要: 问题情况:在做OsgEarth时需要自己编译osgQOpenGL,自己做了一个静态库工程,输出lib文件后,让EXE让用。在测试代码中指定一个地球文件,加载时提示0X00000005。打开GONFIG += console后,提示“error reading file simple.earth fi 阅读全文

posted @ 2020-07-01 09:16 疯狂delphi 阅读(1441) 评论(0) 推荐(0)

2020年6月30日

QT-找开工程后,最上方提示the code model could not parse an included file, which might lead to incorrect code completion and highlighting, for example.

摘要: 相关资料: https://blog.csdn.net/u014453443/article/details/91975453 问题情况: the code model could not parse an included file,which might lead to incorrect co 阅读全文

posted @ 2020-06-30 08:41 疯狂delphi 阅读(1720) 评论(0) 推荐(0)

上一页 1 ··· 21 22 23 24 25 26 27 28 29 ··· 76 下一页

导航