随笔分类 -  《21天学通Qt5》

上一页 1 ··· 4 5 6 7 8 9 10 下一页

Qt操作Thread类
摘要:相关资料: https://blog.csdn.net/u012635648/article/details/89504115 https://blog.csdn.net/qq_28171461/article/details/90518324 .pro 1 QT += core gui 2 QT 阅读全文

posted @ 2020-07-30 17:40 疯狂delphi 阅读(388) 评论(0) 推荐(0)

Qt操作XML文件
摘要:PS:需要在工程文件.pro中增加xml .pro QT += core xml QT -= gui TARGET = xmltest CONFIG += console CONFIG -= app_bundle TEMPLATE = app SOURCES += main.cpp View Cod 阅读全文

posted @ 2020-07-30 17:05 疯狂delphi 阅读(278) 评论(0) 推荐(0)

QT-Qt中MediaPlay的使用,播放视频或MP4
摘要:相关资料: https://blog.csdn.net/itas109/article/details/83829396 https://blog.csdn.net/birenxiaofeigg/article/details/104129207 https://www.cnblogs.com/zh 阅读全文

posted @ 2020-07-30 16:10 疯狂delphi 阅读(1589) 评论(4) 推荐(0)

QT-Qt5在使用showFullScreen窗口全屏状态下,ComboBox的下拉框无法显示,Tabel控件提示无法显示,输入法后选框无法显示问题?
摘要:相关资料: https://www.cnblogs.com/lvdongjie/p/3758025.html 问题情况: 在单位做一个和OSG相关的界面程序,主程序使用了showFullScreen函数,发现子容器(QWidget)里的ComboBox的下拉框无法显示。在百度上搜索了一下,发现Com 阅读全文

posted @ 2020-07-21 17:45 疯狂delphi 阅读(1905) 评论(0) 推荐(0)

QT-Qt组件QTimer使用方法
摘要:相关资料: https://blog.csdn.net/u014783974/article/details/81486491 main.cpp 1 #include "mainwindow.h" 2 3 #include <QApplication> 4 5 int main(int argc, 阅读全文

posted @ 2020-07-17 16:36 疯狂delphi 阅读(756) 评论(0) 推荐(0)

QT-Qt显示GIF图片
摘要:相关资料: https://blog.csdn.net/kidults/article/details/80195524 main.cpp 1 #include "mainwindow.h" 2 3 #include <QApplication> 4 5 int main(int argc, cha 阅读全文

posted @ 2020-07-17 15:50 疯狂delphi 阅读(423) 评论(0) 推荐(0)

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 阅读(778) 评论(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 18:02 疯狂delphi 阅读(401) 评论(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)

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 阅读(1086) 评论(0) 推荐(0)

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 阅读(1121) 评论(0) 推荐(0)

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 阅读(1701) 评论(0) 推荐(0)

QT-vs各个版本的编译器号对应的vs版本号
摘要:相关资料: https://blog.csdn.net/so_do_it/article/details/91420198 5.0 -> 97 6.0 -> 98 7.0 -> 2002 7.1 -> 2003 8.0 -> 2005 9.0 -> 2008 10.0 -> 2010 11.0 -> 阅读全文

posted @ 2020-06-22 08:53 疯狂delphi 阅读(1389) 评论(0) 推荐(0)

QT-Qt5应用程序打包发布(q*.dll的缺少问题解决)
摘要:相关资料: https://blog.csdn.net/lzs2327/article/details/60961025 PS:本人测试过Debug、Release都可以自动搜到dll文件,很方便,很好用。 1.首先编译一个release版本(Debug也行,不过后面的命令参数也要是Debug),然 阅读全文

posted @ 2020-06-17 14:57 疯狂delphi 阅读(1410) 评论(0) 推荐(0)

QT-如何读取windows系统环境变量
摘要:相关资料: https://blog.csdn.net/sunboyhch/article/details/8846039 // 方法一: void MainWindow::on_pushButton_clicked() { QString path = QProcessEnvironment::s 阅读全文

posted @ 2020-06-17 09:41 疯狂delphi 阅读(1092) 评论(0) 推荐(0)

QT-打破布局,还原布局的方法(比较另类,呵呵)
摘要:问题说明: 在处理一个OSG的时候,发现如果窗体是4:3初始化后就是正常的比例。如果把窗体改为1000:500时就发现生成的内容变形了。 问题原因: 应该是初始化OSG时有什么参数吧,我占时没有找到,有找到的可以教我一下,多谢了。 问题处理: 我只能使用最笨的方法,先把显示控件的比例固定为4:3,初 阅读全文

posted @ 2020-06-14 10:04 疯狂delphi 阅读(1545) 评论(0) 推荐(0)

QT-在Qt Widgets Application中怎么显示printf的输出内容?
摘要:相关资料: https://blog.csdn.net/bladeandmaster88/article/details/54748192 问题: 我们在新建一个“Qt Console Application”时使用printf输出字符是可以显在出来的,但是我们在新建一个"Qt Widgets Ap 阅读全文

posted @ 2020-06-13 13:34 疯狂delphi 阅读(1427) 评论(0) 推荐(0)

QT-QChar转换char
摘要:相关资料: https://blog.csdn.net/qq_18649781/article/details/89452179 https://www.cnblogs.com/yangjunhe460/p/10711663.html https://blog.csdn.net/rl529014/a 阅读全文

posted @ 2020-05-14 17:26 疯狂delphi 阅读(8220) 评论(0) 推荐(1)

Qt-char*与QString互转 floatToqstring char*与QString互转 qt字符串与字符串数组操作 Qt 的QString类的使用
摘要:相关资源: https://blog.csdn.net/qq_20553613/article/details/78774476 char*与QString互转 https://blog.csdn.net/weixin_42542969/article/details/88545538 qt字符串与 阅读全文

posted @ 2020-05-14 16:36 疯狂delphi 阅读(2790) 评论(0) 推荐(2)

QT-QT button以及label实现不规则图形(五种方法:使用QSS,设置Mask图片,自己画)
摘要:.h 1 #ifndef MAINWINDOW_H 2 #define MAINWINDOW_H 3 4 #include <QMainWindow> 5 #include <QWebEngineView> 6 #include "qlayout.h" 7 #include "qpushbutton 阅读全文

posted @ 2020-05-14 16:13 疯狂delphi 阅读(928) 评论(0) 推荐(0)

上一页 1 ··· 4 5 6 7 8 9 10 下一页

导航